[153236] trunk/dports/gnome/gtk3/Portfile

devans at macports.org devans at macports.org
Tue Sep 27 10:21:29 PDT 2016


Revision: 153236
          https://trac.macports.org/changeset/153236
Author:   devans at macports.org
Date:     2016-09-27 10:21:29 -0700 (Tue, 27 Sep 2016)
Log Message:
-----------
gtk3: 10.6 build fix, blacklist compilers that do not support C11 redefinition of typedefs.

Modified Paths:
--------------
    trunk/dports/gnome/gtk3/Portfile

Modified: trunk/dports/gnome/gtk3/Portfile
===================================================================
--- trunk/dports/gnome/gtk3/Portfile	2016-09-27 16:32:09 UTC (rev 153235)
+++ trunk/dports/gnome/gtk3/Portfile	2016-09-27 17:21:29 UTC (rev 153236)
@@ -53,8 +53,12 @@
 # gtk3 +quartz uses instancetype which is not available
 # before approximately Xcode 4.6 (#49391)
 
+# blacklist compilers that do not support C11 (redefinition of typedef ‘GdkX11Monitor’ at gdkscreen-x11.h:33)
+
 if {[variant_isset quartz]} {
     compiler.blacklist  *gcc* {clang < 425}
+} else {
+    compiler.blacklist  *gcc* {clang < 300}
 }
 
 # gobject-introspection uses g-ir-scanner, which uses $CC from env
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160927/4891f976/attachment.html>


More information about the macports-changes mailing list