svn commit: r443798 - head/science/getdp/files

Stephen Montgomery-Smith stephen at FreeBSD.org
Sun Jun 18 03:17:53 UTC 2017


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


More information about the svn-ports-head mailing list