svn commit: r519840 - head/graphics/py-pivy-devel/files
Antoine Brodin
antoine at FreeBSD.org
Wed Dec 11 21:20:23 UTC 2019
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;
+
More information about the svn-ports-all
mailing list