[70901] trunk/dports/python/py25-pyicu
snc at macports.org
snc at macports.org
Wed Aug 25 08:39:19 PDT 2010
Revision: 70901
http://trac.macports.org/changeset/70901
Author: snc at macports.org
Date: 2010-08-25 08:39:16 -0700 (Wed, 25 Aug 2010)
Log Message:
-----------
fix build error, #23429
Modified Paths:
--------------
trunk/dports/python/py25-pyicu/Portfile
Added Paths:
-----------
trunk/dports/python/py25-pyicu/files/patch-fix-ticket-23429
Modified: trunk/dports/python/py25-pyicu/Portfile
===================================================================
--- trunk/dports/python/py25-pyicu/Portfile 2010-08-25 14:37:36 UTC (rev 70900)
+++ trunk/dports/python/py25-pyicu/Portfile 2010-08-25 15:39:16 UTC (rev 70901)
@@ -25,7 +25,7 @@
sha1 f8f3c8821cb90442ba6637530592e91929efdf6d \
rmd160 af38047ab04824fab52f529454528cf7dd71d520
-patchfiles patch-setup.py
+patchfiles patch-setup.py patch-fix-ticket-23429
post-patch {
reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/setup.py
Added: trunk/dports/python/py25-pyicu/files/patch-fix-ticket-23429
===================================================================
--- trunk/dports/python/py25-pyicu/files/patch-fix-ticket-23429 (rev 0)
+++ trunk/dports/python/py25-pyicu/files/patch-fix-ticket-23429 2010-08-25 15:39:16 UTC (rev 70901)
@@ -0,0 +1,20 @@
+diff -urN locale.cpp.orig locale.cpp
+--- locale.cpp.orig 2008-07-01 13:09:34.000000000 +0200
++++ locale.cpp 2009-08-13 21:43:23.000000000 +0200
+@@ -1003,8 +1003,6 @@
+ return PyString_FromString("URES_TABLE");
+ case URES_ALIAS:
+ return PyString_FromString("URES_ALIAS");
+- case URES_TABLE32:
+- return PyString_FromString("URES_TABLE32");
+ case URES_ARRAY:
+ return PyString_FromString("URES_ARRAY");
+ case URES_INT_VECTOR:
+@@ -1036,7 +1034,6 @@
+ INSTALL_ENUM(UResType, URES_BINARY);
+ INSTALL_ENUM(UResType, URES_TABLE);
+ INSTALL_ENUM(UResType, URES_ALIAS);
+- INSTALL_ENUM(UResType, URES_TABLE32);
+ INSTALL_ENUM(UResType, URES_INT);
+ INSTALL_ENUM(UResType, URES_ARRAY);
+ INSTALL_ENUM(UResType, URES_INT_VECTOR);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100825/74905d5c/attachment.html>
More information about the macports-changes
mailing list