Revision
54734
Author
mcalhoun@macports.org
Date
2009-08-01 04:56:18 -0700 (Sat, 01 Aug 2009)

Log Message

gmp: If -Wundef is used, a distracting warning can result.
Fixes #20507.

Modified Paths

Diff

Modified: trunk/dports/devel/gmp/Portfile (54733 => 54734)


--- trunk/dports/devel/gmp/Portfile	2009-08-01 11:06:04 UTC (rev 54733)
+++ trunk/dports/devel/gmp/Portfile	2009-08-01 11:56:18 UTC (rev 54734)
@@ -6,6 +6,7 @@
 
 name            gmp
 version         4.3.1
+revision        1
 categories      devel math
 maintainers     mcalhoun openmaintainer
 platforms       darwin

Modified: trunk/dports/devel/gmp/files/patch-gmp-h.in.diff (54733 => 54734)


--- trunk/dports/devel/gmp/files/patch-gmp-h.in.diff	2009-08-01 11:06:04 UTC (rev 54733)
+++ trunk/dports/devel/gmp/files/patch-gmp-h.in.diff	2009-08-01 11:56:18 UTC (rev 54734)
@@ -9,7 +9,7 @@
  #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)
++#elif !(defined __APPLE__ && defined __MACH__ && __APPLE_CC__ >= 5465 && defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L)
  #define __GMP_EXTERN_INLINE      extern __inline__
 -#endif
  #define __GMP_INLINE_PROTOTYPES  1