summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lang/php/files/fix-libstdc++-underlinking.patch')
-rw-r--r--dev-lang/php/files/fix-libstdc++-underlinking.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/dev-lang/php/files/fix-libstdc++-underlinking.patch b/dev-lang/php/files/fix-libstdc++-underlinking.patch
new file mode 100644
index 000000000000..a35305a865b8
--- /dev/null
+++ b/dev-lang/php/files/fix-libstdc++-underlinking.patch
@@ -0,0 +1,10 @@
+--- acinclude.m4 2013-04-02 09:58:33.069274096 +0200
++++ acinclude.m4.new 2013-04-02 09:58:25.221240142 +0200
+@@ -762,6 +762,7 @@
+ if test -z "$php_cxx_done"; then
+ AC_PROG_CXX
+ AC_PROG_CXXCPP
++ PHP_ADD_LIBRARY(stdc++)
+ php_cxx_done=yes
+ fi
+ ])