summaryrefslogtreecommitdiff
path: root/math/vtk-python
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2006-12-09 14:55:44 +0000
committerMartin Wilke <miwi@FreeBSD.org>2006-12-09 14:55:44 +0000
commita45ece12c2568e4b4f9457bc3301f6d7d9258e22 (patch)
tree7371c3bb7a92d6e0e397e701a86ddfeef4b7df21 /math/vtk-python
parentRespect PTHREAD_LIBS. (diff)
- Fix build with python 2.5
PR: ports/104323 Submitted by: TAOKA Fumiyoshi <fmysh@iijmio-mail.jp> Approved by: maintainer timeout
Notes
Notes: svn path=/head/; revision=179308
Diffstat (limited to 'math/vtk-python')
-rw-r--r--math/vtk-python/files/extra-patch-Common-vtkPythonUtil.cxx11
1 files changed, 11 insertions, 0 deletions
diff --git a/math/vtk-python/files/extra-patch-Common-vtkPythonUtil.cxx b/math/vtk-python/files/extra-patch-Common-vtkPythonUtil.cxx
new file mode 100644
index 000000000000..ce81ebd04ea4
--- /dev/null
+++ b/math/vtk-python/files/extra-patch-Common-vtkPythonUtil.cxx
@@ -0,0 +1,11 @@
+--- Common/vtkPythonUtil.cxx.orig Thu Oct 12 03:11:22 2006
++++ Common/vtkPythonUtil.cxx Thu Oct 12 03:11:33 2006
+@@ -731,7 +731,7 @@
+ }
+ if (strcmp(name, "__doc__") == 0)
+ {
+- char *doc = t->tp_doc;
++ const char *doc = t->tp_doc;
+ if (doc != NULL)
+ {
+ return PyString_FromString(doc);