ports/math/vtk-python/files/extra-patch-Common-vtkPythonUtil.cxx
Martin Wilke a45ece12c2 - Fix build with python 2.5
PR:             ports/104323
Submitted by:   TAOKA Fumiyoshi <fmysh@iijmio-mail.jp>
Approved by:    maintainer timeout
2006-12-09 14:55:44 +00:00

11 lines
317 B
C++

--- 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);