Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Jun 2017 03:17:52 +0000 (UTC)
From:      Stephen Montgomery-Smith <stephen@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r443798 - head/science/getdp/files
Message-ID:  <201706180317.v5I3HqWL009956@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: stephen
Date: Sun Jun 18 03:17:52 2017
New Revision: 443798
URL: https://svnweb.freebsd.org/changeset/ports/443798

Log:
  - Fix compilation error (which presumably comes from a change in header files
    associated with python2).

Added:
  head/science/getdp/files/patch-Common_Message.cpp   (contents, props changed)

Added: head/science/getdp/files/patch-Common_Message.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/science/getdp/files/patch-Common_Message.cpp	Sun Jun 18 03:17:52 2017	(r443798)
@@ -0,0 +1,11 @@
+--- Common/Message.cpp.orig	2017-06-17 23:49:49 UTC
++++ Common/Message.cpp
+@@ -124,7 +124,7 @@ void Message::Initialize(int argc, char 
+   std::vector<wchar_t*> wargv(argc ? argc : 1);
+   for(int i = 0; i < argc; i++)
+     wargv[i] = Py_DecodeLocale(argv[i], NULL);
+-  Py_SetProgramName(wargv[0], NULL);
++  Py_SetProgramName(wargv[0]);
+   Py_InitializeEx(0);
+   PySys_SetArgv(argc, &wargv[0]);
+ #endif



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201706180317.v5I3HqWL009956>