summaryrefslogtreecommitdiffstats
path: root/php-5.2.8-recode.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2012-06-10 07:12:19 +0200
committerRemi Collet <fedora@famillecollet.com>2012-06-10 07:12:19 +0200
commitb3e0ade88ce863b452efc83d003485b64399e89a (patch)
treee5e48e95d7eb1829bad26a51c54c91d52e4e8e89 /php-5.2.8-recode.patch
repo reorg
Diffstat (limited to 'php-5.2.8-recode.patch')
-rw-r--r--php-5.2.8-recode.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/php-5.2.8-recode.patch b/php-5.2.8-recode.patch
new file mode 100644
index 0000000..024c54b
--- /dev/null
+++ b/php-5.2.8-recode.patch
@@ -0,0 +1,19 @@
+
+Allow recode to be built with imap and mysql. The conflict is due
+to symbol conflicts between the recode libraries and anything else,
+but these should not matter (right? right! everything is fine, really)
+if the extensions are loaded as DSOs *and* the libraries are loaded
+using the magic RTLD_DEEPBIND.
+
+--- php-5.2.8/ext/recode/config9.m4.recode
++++ php-5.2.8/ext/recode/config9.m4
+@@ -4,9 +4,6 @@ dnl
+
+ dnl Check for extensions with which Recode can not work
+ if test "$PHP_RECODE" != "no"; then
+- test "$PHP_IMAP" != "no" && recode_conflict="$recode_conflict imap"
+- test "$PHP_MYSQL" != "no" && recode_conflict="$recode_conflict mysql"
+-
+ if test -n "$recode_conflict"; then
+ AC_MSG_ERROR([recode extension can not be configured together with:$recode_conflict])
+ fi