Revision
147407
Author
devans@macports.org
Date
2016-04-02 21:24:45 -0700 (Sat, 02 Apr 2016)

Log Message

gedit: 10.6 build fix, blacklist compilers that do not support C11 redefinition of typedefs.

Modified Paths

Diff

Modified: trunk/dports/gnome/gedit/Portfile (147406 => 147407)


--- trunk/dports/gnome/gedit/Portfile	2016-04-03 01:48:37 UTC (rev 147406)
+++ trunk/dports/gnome/gedit/Portfile	2016-04-03 04:24:45 UTC (rev 147407)
@@ -3,6 +3,7 @@
 
 PortSystem          1.0
 PortGroup           active_variants 1.1
+PortGroup           compiler_blacklist_versions 1.0
 PortGroup           gobject_introspection 1.0
 
 name                gedit
@@ -55,8 +56,12 @@
     xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath}
 }
 
+
 configure.cmd       ./autogen.sh
 
+# blacklist compilers that do not support C11 (redefinition of typedef ‘GtkSourceTag’ at gtksourceview/gtksourcetag.h:35)
+compiler.blacklist  *gcc* {clang < 300}
+
 configure.cflags-append \
                     -Wno-error=format-nonliteral