From 67be86628796a35cdef5b5b543b5e4661f7a416c Mon Sep 17 00:00:00 2001 From: su_v Date: Tue, 16 Sep 2014 18:22:35 +0200 Subject: ports: maintain current ports for python25 and py25-* modules for packaging locally (support will likely be removed in upstream MacPorts) (bzr r13506.1.98) --- .../macosx/ports/lang/python25/files/patch-FSIORefNum.diff | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 packaging/macosx/ports/lang/python25/files/patch-FSIORefNum.diff (limited to 'packaging/macosx/ports/lang/python25/files/patch-FSIORefNum.diff') 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, \ -- cgit v1.2.3