summaryrefslogtreecommitdiffstats
path: root/php-5.2.8-recode.patch
diff options
context:
space:
mode:
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