diff options
author | miwi <miwi@FreeBSD.org> | 2006-12-09 22:55:44 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2006-12-09 22:55:44 +0800 |
commit | 6acc0a514357b3769533f2b04d524bf9d97e60a2 (patch) | |
tree | e83c05a96eb11bc4de26f733a9a6c7a65fcd2d03 | |
parent | 18e77541cf77f21404a46e5ac8e27ef6612d4608 (diff) | |
download | freebsd-ports-graphics-6acc0a514357b3769533f2b04d524bf9d97e60a2.tar.gz freebsd-ports-graphics-6acc0a514357b3769533f2b04d524bf9d97e60a2.tar.zst freebsd-ports-graphics-6acc0a514357b3769533f2b04d524bf9d97e60a2.zip |
- Fix build with python 2.5
PR: ports/104323
Submitted by: TAOKA Fumiyoshi <fmysh@iijmio-mail.jp>
Approved by: maintainer timeout
-rw-r--r-- | math/vtk-python/files/extra-patch-Common-vtkPythonUtil.cxx | 11 |
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 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); |