[54734] trunk/dports/devel/gmp

mcalhoun at macports.org mcalhoun at macports.org
Sat Aug 1 04:56:20 PDT 2009


Revision: 54734
          http://trac.macports.org/changeset/54734
Author:   mcalhoun at 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:
--------------
    trunk/dports/devel/gmp/Portfile
    trunk/dports/devel/gmp/files/patch-gmp-h.in.diff

Modified: trunk/dports/devel/gmp/Portfile
===================================================================
--- 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
===================================================================
--- 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090801/d5fa1454/attachment.html>


More information about the macports-changes mailing list