[101103] trunk/dports/php
ryandesign at macports.org
ryandesign at macports.org
Fri Jan 4 04:10:01 PST 2013
Revision: 101103
https://trac.macports.org/changeset/101103
Author: ryandesign at macports.org
Date: 2013-01-04 04:10:01 -0800 (Fri, 04 Jan 2013)
Log Message:
-----------
php-rar: fix build with Xcode's gcc versions by removing -Wno-logical-op-parentheses flag
Modified Paths:
--------------
trunk/dports/php/php-rar/Portfile
trunk/dports/php/php5-rar/Portfile
Added Paths:
-----------
trunk/dports/php/php-rar/files/
trunk/dports/php/php-rar/files/patch-config.m4.diff
trunk/dports/php/php5-rar/files/
trunk/dports/php/php5-rar/files/patch-config.m4.diff
Modified: trunk/dports/php/php-rar/Portfile
===================================================================
--- trunk/dports/php/php-rar/Portfile 2013-01-04 12:02:34 UTC (rev 101102)
+++ trunk/dports/php/php-rar/Portfile 2013-01-04 12:10:01 UTC (rev 101103)
@@ -23,6 +23,8 @@
checksums rmd160 5a781957e6bfa42facc513ebc9c0a8bcd48b9d7c \
sha256 422a7d2b69d0192b580759064de7d404d24b3c65c7fedc4e64e2c821e92231af
+patchfiles patch-config.m4.diff
+
configure.args-append --enable-rar
use_parallel_build yes
Added: trunk/dports/php/php-rar/files/patch-config.m4.diff
===================================================================
--- trunk/dports/php/php-rar/files/patch-config.m4.diff (rev 0)
+++ trunk/dports/php/php-rar/files/patch-config.m4.diff 2013-01-04 12:10:01 UTC (rev 101103)
@@ -0,0 +1,11 @@
+https://bugs.php.net/bug.php?id=63016
+--- config.m4.orig 2012-07-29 08:41:03.000000000 -0500
++++ config.m4 2013-01-04 06:04:30.000000000 -0600
+@@ -27,6 +27,6 @@
+ PHP_REQUIRE_CXX()
+ PHP_ADD_LIBRARY_WITH_PATH(stdc++, "", RAR_SHARED_LIBADD)
+
+- PHP_NEW_EXTENSION(rar, rar.c rar_error.c rararch.c rarentry.c rar_stream.c rar_navigation.c $unrar_sources, $ext_shared,,-DRARDLL -DGUI -DSILENT -Wno-write-strings -Wno-logical-op-parentheses -I at ext_srcdir@/unrar)
++ PHP_NEW_EXTENSION(rar, rar.c rar_error.c rararch.c rarentry.c rar_stream.c rar_navigation.c $unrar_sources, $ext_shared,,-DRARDLL -DGUI -DSILENT -Wno-write-strings -I at ext_srcdir@/unrar)
+ PHP_ADD_BUILD_DIR($ext_builddir/unrar)
+ fi
Modified: trunk/dports/php/php5-rar/Portfile
===================================================================
--- trunk/dports/php/php5-rar/Portfile 2013-01-04 12:02:34 UTC (rev 101102)
+++ trunk/dports/php/php5-rar/Portfile 2013-01-04 12:10:01 UTC (rev 101103)
@@ -19,6 +19,8 @@
checksums rmd160 5a781957e6bfa42facc513ebc9c0a8bcd48b9d7c \
sha256 422a7d2b69d0192b580759064de7d404d24b3c65c7fedc4e64e2c821e92231af
+patchfiles patch-config.m4.diff
+
configure.args-append --enable-rar
use_parallel_build yes
Added: trunk/dports/php/php5-rar/files/patch-config.m4.diff
===================================================================
--- trunk/dports/php/php5-rar/files/patch-config.m4.diff (rev 0)
+++ trunk/dports/php/php5-rar/files/patch-config.m4.diff 2013-01-04 12:10:01 UTC (rev 101103)
@@ -0,0 +1,11 @@
+https://bugs.php.net/bug.php?id=63016
+--- config.m4.orig 2012-07-29 08:41:03.000000000 -0500
++++ config.m4 2013-01-04 06:04:30.000000000 -0600
+@@ -27,6 +27,6 @@
+ PHP_REQUIRE_CXX()
+ PHP_ADD_LIBRARY_WITH_PATH(stdc++, "", RAR_SHARED_LIBADD)
+
+- PHP_NEW_EXTENSION(rar, rar.c rar_error.c rararch.c rarentry.c rar_stream.c rar_navigation.c $unrar_sources, $ext_shared,,-DRARDLL -DGUI -DSILENT -Wno-write-strings -Wno-logical-op-parentheses -I at ext_srcdir@/unrar)
++ PHP_NEW_EXTENSION(rar, rar.c rar_error.c rararch.c rarentry.c rar_stream.c rar_navigation.c $unrar_sources, $ext_shared,,-DRARDLL -DGUI -DSILENT -Wno-write-strings -I at ext_srcdir@/unrar)
+ PHP_ADD_BUILD_DIR($ext_builddir/unrar)
+ fi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130104/63118b50/attachment.html>
More information about the macports-changes
mailing list