[101742] trunk/dports/devel/icu

jeremyhu at macports.org jeremyhu at macports.org
Fri Jan 18 01:43:46 PST 2013


Revision: 101742
          https://trac.macports.org/changeset/101742
Author:   jeremyhu at macports.org
Date:     2013-01-18 01:43:46 -0800 (Fri, 18 Jan 2013)
Log Message:
-----------
icu: Stop icu from defining away inline

Modified Paths:
--------------
    trunk/dports/devel/icu/Portfile

Added Paths:
-----------
    trunk/dports/devel/icu/files/inline.patch

Modified: trunk/dports/devel/icu/Portfile
===================================================================
--- trunk/dports/devel/icu/Portfile	2013-01-18 09:41:31 UTC (rev 101741)
+++ trunk/dports/devel/icu/Portfile	2013-01-18 09:43:46 UTC (rev 101742)
@@ -29,7 +29,8 @@
 extract.suffix  .tgz
 distfiles       ${distname}-src${extract.suffix}
 patchfiles      patch-configure.diff \
-                patch-config-mh-darwin.diff
+                patch-config-mh-darwin.diff \
+                inline.patch
 checksums       ${distname}-src.tgz \
                 rmd160  e34aa54f4387ae4c195c72427a2bd25933456e94 \
                 sha256  cce83cc88a2ff79d65c05426facbf30530bbe13a1cfda04b3ab81b55414cf5a3

Added: trunk/dports/devel/icu/files/inline.patch
===================================================================
--- trunk/dports/devel/icu/files/inline.patch	                        (rev 0)
+++ trunk/dports/devel/icu/files/inline.patch	2013-01-18 09:43:46 UTC (rev 101742)
@@ -0,0 +1,19 @@
+--- common/umutex.h.orig	2013-01-18 01:34:14.000000000 -0800
++++ common/umutex.h	2013-01-18 01:34:38.000000000 -0800
+@@ -27,16 +27,8 @@
+ #endif
+ 
+ #if U_PLATFORM_IS_DARWIN_BASED
+-#if defined(__STRICT_ANSI__)
+-#define UPRV_REMAP_INLINE
+-#define inline
+-#endif
+ #include <libkern/OSAtomic.h>
+ #define USE_MAC_OS_ATOMIC_INCREMENT 1
+-#if defined(UPRV_REMAP_INLINE)
+-#undef inline
+-#undef UPRV_REMAP_INLINE
+-#endif
+ #endif
+ 
+ /*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130118/6d0400f1/attachment.html>


More information about the macports-changes mailing list