Revision
80132
Author
jeremyhu@macports.org
Date
2011-07-04 22:42:07 -0700 (Mon, 04 Jul 2011)

Log Message

gperf: Fix douple static, #30022

Modified Paths

Diff

Modified: trunk/dports/devel/gperf/Portfile (80131 => 80132)


--- 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 (80131 => 80132)


--- 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"