[80132] trunk/dports/devel/gperf
jeremyhu at macports.org
jeremyhu at macports.org
Mon Jul 4 22:42:09 PDT 2011
Revision: 80132
http://trac.macports.org/changeset/80132
Author: jeremyhu at macports.org
Date: 2011-07-04 22:42:07 -0700 (Mon, 04 Jul 2011)
Log Message:
-----------
gperf: Fix douple static, #30022
Modified Paths:
--------------
trunk/dports/devel/gperf/Portfile
trunk/dports/devel/gperf/files/c99.patch
Modified: trunk/dports/devel/gperf/Portfile
===================================================================
--- trunk/dports/devel/gperf/Portfile 2011-07-05 04:04:57 UTC (rev 80131)
+++ trunk/dports/devel/gperf/Portfile 2011-07-05 05:42:07 UTC (rev 80132)
@@ -5,6 +5,7 @@
name gperf
version 3.0.4
+revision 1
categories devel
maintainers mcalhoun openmaintainer
description GNU perfect hash generator
Modified: trunk/dports/devel/gperf/files/c99.patch
===================================================================
--- trunk/dports/devel/gperf/files/c99.patch 2011-07-05 04:04:57 UTC (rev 80131)
+++ trunk/dports/devel/gperf/files/c99.patch 2011-07-05 05:42:07 UTC (rev 80132)
@@ -6,7 +6,7 @@
else if (option[KRC] | option[C] | option[ANSIC])
- printf ("#ifdef __GNUC__\n"
+ printf ("#if (defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || defined(__GNUC_STDC_INLINE__)\n"
-+ "static inline\n"
++ "inline\n"
+ "#elif defined(__GNUC__)\n"
"__inline\n"
- "#else\n"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110704/45592883/attachment.html>
More information about the macports-changes
mailing list