Date: Wed, 11 Dec 2019 21:20:22 +0000 (UTC) From: Antoine Brodin <antoine@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r519840 - head/graphics/py-pivy-devel/files Message-ID: <201912112120.xBBLKM2k009552@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: antoine Date: Wed Dec 11 21:20:22 2019 New Revision: 519840 URL: https://svnweb.freebsd.org/changeset/ports/519840 Log: Fix build with python 3.7 PR: 233770 Added: head/graphics/py-pivy-devel/files/patch-Inventor_nodes_SoMarkerSet.i (contents, props changed) head/graphics/py-pivy-devel/files/patch-Inventor_sensors_SoSensor.i (contents, props changed) Added: head/graphics/py-pivy-devel/files/patch-Inventor_nodes_SoMarkerSet.i ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/py-pivy-devel/files/patch-Inventor_nodes_SoMarkerSet.i Wed Dec 11 21:20:22 2019 (r519840) @@ -0,0 +1,11 @@ +--- Inventor/nodes/SoMarkerSet.i.orig 2018-06-08 08:15:18 UTC ++++ Inventor/nodes/SoMarkerSet.i +@@ -5,7 +5,7 @@ + short WIDTH, HEIGHT; + size.getValue(WIDTH, HEIGHT); + short BYTEWIDTH = (WIDTH + 7) / 2; +- char* coin_marker; ++ const char* coin_marker; + #ifdef PY_2 + if (PyString_Check(string)) + { Added: head/graphics/py-pivy-devel/files/patch-Inventor_sensors_SoSensor.i ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/graphics/py-pivy-devel/files/patch-Inventor_sensors_SoSensor.i Wed Dec 11 21:20:22 2019 (r519840) @@ -0,0 +1,11 @@ +--- Inventor/sensors/SoSensor.i.orig 2018-06-08 08:15:18 UTC ++++ Inventor/sensors/SoSensor.i +@@ -4,7 +4,7 @@ SoSensorPythonCB(void * data, SoSensor * sensor) + { + PyGILState_STATE gil = PyGILState_Ensure(); + swig_type_info * swig_type = 0; +- char * sensor_cast_name = NULL; ++ const char * sensor_cast_name = NULL; + PyObject * func, * arglist; + PyObject * result, * pysensor; +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201912112120.xBBLKM2k009552>