[50567] trunk/dports/devel/gmp/files/gmp-h.in.diff
mcalhoun at macports.org
mcalhoun at macports.org
Mon May 4 10:45:35 PDT 2009
Revision: 50567
http://trac.macports.org/changeset/50567
Author: mcalhoun at macports.org
Date: 2009-05-04 10:45:35 -0700 (Mon, 04 May 2009)
Log Message:
-----------
Add patch for r50566.
Added Paths:
-----------
trunk/dports/devel/gmp/files/gmp-h.in.diff
Added: trunk/dports/devel/gmp/files/gmp-h.in.diff
===================================================================
--- trunk/dports/devel/gmp/files/gmp-h.in.diff (rev 0)
+++ trunk/dports/devel/gmp/files/gmp-h.in.diff 2009-05-04 17:45:35 UTC (rev 50567)
@@ -0,0 +1,20 @@
+--- gmp-h.in.orig 2009-04-14 05:36:30.000000000 -0700
++++ gmp-h.in 2009-05-04 08:45:33.000000000 -0700
+@@ -421,12 +421,13 @@
+ GCC 4.3 and above with -std=c99 or -std=gnu99 implements ISO C99
+ inline semantics, unless -fgnu89-inline is used. */
+ #ifdef __GNUC__
+-#if (defined __GNUC_STDC_INLINE__) || (__GNUC__ == 4 && __GNUC_MINOR__ == 2)
++#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 2)
+ #define __GMP_EXTERN_INLINE extern __inline__ __attribute__ ((__gnu_inline__))
+-#else
++#define __GMP_INLINE_PROTOTYPES 1
++#elif !(defined __APPLE__ && defined __MACH__ && __APPLE_CC__ >= 5465 && __STDC_VERSION__ >= 199901L)
+ #define __GMP_EXTERN_INLINE extern __inline__
+-#endif
+ #define __GMP_INLINE_PROTOTYPES 1
+ #endif
++#endif
+
+ /* DEC C (eg. version 5.9) supports "static __inline foo()", even in -std1
+ strict ANSI mode. Inlining is done even when not optimizing (ie. -O0
\ No newline at end of file
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090504/0f870bb0/attachment.html>
More information about the macports-changes
mailing list