[154464] trunk/dports/graphics/jasper
jmr at macports.org
jmr at macports.org
Sun Oct 30 07:36:01 CET 2016
Revision: 154464
https://trac.macports.org/changeset/154464
Author: jmr at macports.org
Date: 2016-10-30 07:36:01 +0100 (Sun, 30 Oct 2016)
Log Message:
-----------
jasper: remove use of -pedantic-errors
Caused build failures with compilers that don't default to C99.
Modified Paths:
--------------
trunk/dports/graphics/jasper/Portfile
Added Paths:
-----------
trunk/dports/graphics/jasper/files/
trunk/dports/graphics/jasper/files/configure.patch
Modified: trunk/dports/graphics/jasper/Portfile
===================================================================
--- trunk/dports/graphics/jasper/Portfile 2016-10-30 06:11:46 UTC (rev 154463)
+++ trunk/dports/graphics/jasper/Portfile 2016-10-30 06:36:01 UTC (rev 154464)
@@ -23,6 +23,8 @@
depends_lib port:jpeg
+patchfiles configure.patch
+
configure.args --disable-opengl
test.run yes
Added: trunk/dports/graphics/jasper/files/configure.patch
===================================================================
--- trunk/dports/graphics/jasper/files/configure.patch (rev 0)
+++ trunk/dports/graphics/jasper/files/configure.patch 2016-10-30 06:36:01 UTC (rev 154464)
@@ -0,0 +1,10 @@
+--- configure.orig 2016-10-28 01:23:15.000000000 +1100
++++ configure 2016-10-30 16:59:46.000000000 +1100
+@@ -13924,7 +13924,6 @@
+ #CFLAGS="$CFLAGS -std=c99"
+ #CFLAGS="$CFLAGS -std=c11"
+ CFLAGS="$CFLAGS -pedantic"
+- CFLAGS="$CFLAGS -pedantic-errors"
+ CFLAGS="$CFLAGS -Wall -Wno-unused"
+ #CFLAGS="$CFLAGS -W -Wformat -Wmissing-prototypes -Wstrict-prototypes"
+ fi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-changes/attachments/20161030/ef5a6b32/attachment-0002.html>
More information about the macports-changes
mailing list