Changes of Revision 5
[-] | Changed | php5-rar.spec |
x 1
2 # 3 URL: http://pecl.php.net/ 4 Source: http://pecl.php.net/package/%{pkg_name}/%{pkg_name}-%{version}.tgz 5 +Patch0: rar-config-m4_compiler.patch 6 Summary: PHP extension for reading Rar archives using bundled unRAR library 7 8 %description 9
10 11 %prep 12 %setup -n %{pkg_name}-%{version} 13 - 14 +%patch0 15 %{__mkdir} %{name} 16 17 %build 18 |
||
[+] | Added | rar-config-m4_compiler.patch ^ |
@@ -0,0 +1,10 @@ +--- config.m4.orig 2013-10-15 07:13:32.303950731 +0200 ++++ config.m4 2013-10-15 07:13:44.515950720 +0200 +@@ -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@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@ext_srcdir@/unrar) + PHP_ADD_BUILD_DIR($ext_builddir/unrar) + fi |