[57516] trunk/dports/lang/python25

jmr at macports.org jmr at macports.org
Fri Sep 11 23:15:01 PDT 2009


Revision: 57516
          http://trac.macports.org/changeset/57516
Author:   jmr at macports.org
Date:     2009-09-11 23:14:57 -0700 (Fri, 11 Sep 2009)
Log Message:
-----------
python25: buildfix for tiger (#21313)

Modified Paths:
--------------
    trunk/dports/lang/python25/Portfile

Added Paths:
-----------
    trunk/dports/lang/python25/files/patch-FSIORefNum.diff

Modified: trunk/dports/lang/python25/Portfile
===================================================================
--- trunk/dports/lang/python25/Portfile	2009-09-12 03:53:58 UTC (rev 57515)
+++ trunk/dports/lang/python25/Portfile	2009-09-12 06:14:57 UTC (rev 57516)
@@ -132,6 +132,10 @@
 \n\tsudo python_select $name\n"
 }
 
+platform darwin 8 {
+    patchfiles-append               patch-FSIORefNum.diff
+}
+
 platform darwin 9 {
         configure.cppflags-append       -D__DARWIN_UNIX03
 }

Added: trunk/dports/lang/python25/files/patch-FSIORefNum.diff
===================================================================
--- trunk/dports/lang/python25/files/patch-FSIORefNum.diff	                        (rev 0)
+++ trunk/dports/lang/python25/files/patch-FSIORefNum.diff	2009-09-12 06:14:57 UTC (rev 57516)
@@ -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, \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090911/8731d71e/attachment.html>


More information about the macports-changes mailing list