[120546] trunk/dports/net/gupnp-av/Portfile

devans at macports.org devans at macports.org
Sat May 31 23:36:22 PDT 2014


Revision: 120546
          https://trac.macports.org/changeset/120546
Author:   devans at macports.org
Date:     2014-05-31 23:36:22 -0700 (Sat, 31 May 2014)
Log Message:
-----------
gupnp-av: blacklist compilers that don't support C11 to fix build on SL and earlier.

Modified Paths:
--------------
    trunk/dports/net/gupnp-av/Portfile

Modified: trunk/dports/net/gupnp-av/Portfile
===================================================================
--- trunk/dports/net/gupnp-av/Portfile	2014-06-01 06:29:00 UTC (rev 120545)
+++ trunk/dports/net/gupnp-av/Portfile	2014-06-01 06:36:22 UTC (rev 120546)
@@ -1,7 +1,8 @@
 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
 # $Id$
 
-PortSystem 1.0
+PortSystem      1.0
+PortGroup       compiler_blacklist_versions 1.0
 
 name            gupnp-av
 version         0.12.5
@@ -32,6 +33,12 @@
 # Remove a warning flag that earlier gcc don't know about
 patchfiles-append   patch-test-Makefile.in.diff
 
+# blacklist compilers that do not support C11
+# due to error: redefinition of typedef 'GUPnPService'
+# build fix for SL and earlier
+
+compiler.blacklist  *gcc* {clang < 300}
+
 configure.args  --disable-silent-rules \
                 --enable-introspection=yes
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140531/c78d071e/attachment.html>


More information about the macports-changes mailing list