mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
- 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:
parent
5f00925706
commit
a45ece12c2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=179308
1 changed files with 11 additions and 0 deletions
11
math/vtk-python/files/extra-patch-Common-vtkPythonUtil.cxx
Normal file
11
math/vtk-python/files/extra-patch-Common-vtkPythonUtil.cxx
Normal 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);
|
Loading…
Add table
Reference in a new issue