[141109] trunk/dports/gnome/metacity/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Sat Oct 10 20:05:55 PDT 2015


Revision: 141109
          https://trac.macports.org/changeset/141109
Author:   jeremyhu at macports.org
Date:     2015-10-10 20:05:55 -0700 (Sat, 10 Oct 2015)
Log Message:
-----------
metacity: Blacklist older compilers

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

Modified: trunk/dports/gnome/metacity/Portfile
===================================================================
--- trunk/dports/gnome/metacity/Portfile	2015-10-11 01:24:23 UTC (rev 141108)
+++ trunk/dports/gnome/metacity/Portfile	2015-10-11 03:05:55 UTC (rev 141109)
@@ -2,6 +2,7 @@
 # $Id$
 
 PortSystem          1.0
+PortGroup           compiler_blacklist_versions 1.0
 
 name                metacity
 version             3.18.0
@@ -67,6 +68,13 @@
                     --disable-themes-documentation \
                     --disable-compositor
 
+# 'clang < 300' is a guess.  We basically need support for C11 redefinition of typedefs.
+# clang-75 definitely fails.
+# core/display-private.h:45: error: redefinition of typedef ‘MetaKeyBinding’
+# ./include/types.h:29: error: previous declaration of ‘MetaKeyBinding’ was here
+compiler.blacklist  *gcc-4* {clang < 300}
+configure.cflags-append -std=gnu11
+
 post-activate {
     system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas"
     system "${prefix}/bin/update-desktop-database ${prefix}/share/applications"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151010/90864539/attachment.html>


More information about the macports-changes mailing list