[147407] trunk/dports/gnome/gedit/Portfile

devans at macports.org devans at macports.org
Sat Apr 2 21:24:45 PDT 2016


Revision: 147407
          https://trac.macports.org/changeset/147407
Author:   devans at 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:
--------------
    trunk/dports/gnome/gedit/Portfile

Modified: trunk/dports/gnome/gedit/Portfile
===================================================================
--- 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
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160402/fd862b03/attachment.html>


More information about the macports-changes mailing list