Revision
147406
Author
devans@macports.org
Date
2016-04-02 18:48:37 -0700 (Sat, 02 Apr 2016)

Log Message

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

Modified Paths

Diff

Modified: trunk/dports/gnome/gtksourceview3/Portfile (147405 => 147406)


--- trunk/dports/gnome/gtksourceview3/Portfile	2016-04-03 00:45:21 UTC (rev 147405)
+++ trunk/dports/gnome/gtksourceview3/Portfile	2016-04-03 01:48:37 UTC (rev 147406)
@@ -3,6 +3,7 @@
 
 PortSystem          1.0
 PortGroup           active_variants 1.1
+PortGroup           compiler_blacklist_versions 1.0
 PortGroup           gobject_introspection 1.0
 
 name                gtksourceview3
@@ -48,6 +49,9 @@
 use_autoreconf      yes
 autoreconf.args     -fvi
 
+# blacklist compilers that do not support C11 (redefinition of typedef ‘GtkSourceTag’ at gtksourceview/gtksourcetag.h:35)
+compiler.blacklist  *gcc* {clang < 300}
+
 configure.args      --enable-compile-warnings=minimum \
                     --disable-silent-rules