From 6acc0a514357b3769533f2b04d524bf9d97e60a2 Mon Sep 17 00:00:00 2001 From: miwi Date: Sat, 9 Dec 2006 14:55:44 +0000 Subject: - Fix build with python 2.5 PR: ports/104323 Submitted by: TAOKA Fumiyoshi Approved by: maintainer timeout --- math/vtk-python/files/extra-patch-Common-vtkPythonUtil.cxx | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 math/vtk-python/files/extra-patch-Common-vtkPythonUtil.cxx 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 00000000000..ce81ebd04ea --- /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); -- cgit