- Fix build with python 2.5

PR:             ports/104323
Submitted by:   TAOKA Fumiyoshi <fmysh@iijmio-mail.jp>
Approved by:    maintainer timeout
This commit is contained in:
Martin Wilke 2006-12-09 14:55:44 +00:00
parent 5f00925706
commit a45ece12c2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=179308

View file

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