[Pkg-php-commits] [php/debian-sid] Fix FTBFS with gold or ld --no-add-needed (Closes: #615770) (Patch courtesy of Adrian Lang)

Ondřej Surý ondrej at sury.org
Thu Mar 17 15:58:18 UTC 2011


---
 debian/patches/debbug#615770.patch |   13 +++++++++++++
 debian/patches/series              |    1 +
 2 files changed, 14 insertions(+), 0 deletions(-)
 create mode 100644 debian/patches/debbug#615770.patch

diff --git a/debian/patches/debbug#615770.patch b/debian/patches/debbug#615770.patch
new file mode 100644
index 0000000..833ff16
--- /dev/null
+++ b/debian/patches/debbug#615770.patch
@@ -0,0 +1,13 @@
+diff --git a/ext/openssl/config0.m4 b/ext/openssl/config0.m4
+index ee5e85c..c1c10ee 100644
+--- a/ext/openssl/config0.m4
++++ b/ext/openssl/config0.m4
+@@ -12,6 +12,8 @@ if test "$PHP_OPENSSL" != "no"; then
+   PHP_NEW_EXTENSION(openssl, openssl.c xp_ssl.c, $ext_shared)
+   PHP_SUBST(OPENSSL_SHARED_LIBADD)
+ 
++  PHP_ADD_LIBRARY(crypto)
++
+   if test "$PHP_KERBEROS" != "no"; then
+     PHP_SETUP_KERBEROS(OPENSSL_SHARED_LIBADD)
+   fi
diff --git a/debian/patches/series b/debian/patches/series
index 3441053..03f8989 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -58,3 +58,4 @@ fix-memory-leak-inside-highlight_string.patch
 fix-segfault-in-pgsql_stmt_execute-when-postgres-is-down.patch
 fix-segfault-when-node-is-NULL-in-simplexml.patch
 fix-segfault-when-using-several-cloned-intl-objects.patch
+debbug#615770.patch
-- 
1.7.1





More information about the Pkg-php-commits mailing list