summaryrefslogtreecommitdiffstats
path: root/packaging/macosx/ports/lang/python25/files/patch-FSIORefNum.diff
diff options
context:
space:
mode:
authorsu_v <suv-sf@users.sourceforge.net>2014-09-16 16:22:35 +0000
committer~suv <suv-sf@users.sourceforge.net>2014-09-16 16:22:35 +0000
commit67be86628796a35cdef5b5b543b5e4661f7a416c (patch)
treefcef3a8452bc72f27ffbae35d5b6d824e93c477a /packaging/macosx/ports/lang/python25/files/patch-FSIORefNum.diff
parentupdate to trunk (r13556) (diff)
downloadinkscape-67be86628796a35cdef5b5b543b5e4661f7a416c.tar.gz
inkscape-67be86628796a35cdef5b5b543b5e4661f7a416c.zip
ports: maintain current ports for python25 and py25-* modules for packaging locally (support will likely be removed in upstream MacPorts)
(bzr r13506.1.98)
Diffstat (limited to 'packaging/macosx/ports/lang/python25/files/patch-FSIORefNum.diff')
-rw-r--r--packaging/macosx/ports/lang/python25/files/patch-FSIORefNum.diff11
1 files changed, 11 insertions, 0 deletions
diff --git a/packaging/macosx/ports/lang/python25/files/patch-FSIORefNum.diff b/packaging/macosx/ports/lang/python25/files/patch-FSIORefNum.diff
new file mode 100644
index 000000000..6f8ac6608
--- /dev/null
+++ b/packaging/macosx/ports/lang/python25/files/patch-FSIORefNum.diff
@@ -0,0 +1,11 @@
+--- Mac/Modules/file/_Filemodule.c.orig 2009-09-12 15:55:59.000000000 +1000
++++ Mac/Modules/file/_Filemodule.c 2009-09-12 16:12:07.000000000 +1000
+@@ -7,6 +7,8 @@
+
+ #include "pymactoolbox.h"
+
++typedef SInt16 FSIORefNum;
++
+ /* Macro to test whether a weak-loaded CFM function exists */
+ #define PyMac_PRECHECK(rtn) do { if ( &rtn == NULL ) {\
+ PyErr_SetString(PyExc_NotImplementedError, \