File rar-config-m4_compiler.patch of Package php5-rar
1
--- config.m4.orig 2013-10-15 07:13:32.303950731 +0200
2
+++ config.m4 2013-10-15 07:13:44.515950720 +0200
3
4
PHP_REQUIRE_CXX()
5
PHP_ADD_LIBRARY_WITH_PATH(stdc++, "", RAR_SHARED_LIBADD)
6
7
- 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)
8
+ 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)
9
PHP_ADD_BUILD_DIR($ext_builddir/unrar)
10
fi
11