summaryrefslogtreecommitdiff
path: root/mail/php4-imap/patches
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-10-16 05:39:57 +0000
committerjlam <jlam@pkgsrc.org>2001-10-16 05:39:57 +0000
commiteab44eac9a77426faa7f2f0e3e614cde89502ce0 (patch)
treeae7e4bfb5a0fb2c61f749b1ea6dc3b88c26b812b /mail/php4-imap/patches
parente0d04b4b017548ec5ab59fed339ce301f3013135 (diff)
downloadpkgsrc-eab44eac9a77426faa7f2f0e3e614cde89502ce0.tar.gz
Update php4-imap to the version from the php-4.0.6 distribution. There is
no list of changes from version 4.0.5. Also move from the www category.
Diffstat (limited to 'mail/php4-imap/patches')
-rw-r--r--mail/php4-imap/patches/patch-aa28
-rw-r--r--mail/php4-imap/patches/patch-ab17
2 files changed, 45 insertions, 0 deletions
diff --git a/mail/php4-imap/patches/patch-aa b/mail/php4-imap/patches/patch-aa
new file mode 100644
index 00000000000..686949595c7
--- /dev/null
+++ b/mail/php4-imap/patches/patch-aa
@@ -0,0 +1,28 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/10/16 05:39:57 jlam Exp $
+
+--- config.m4.orig Mon May 21 20:38:46 2001
++++ config.m4
+@@ -49,10 +49,11 @@
+
+ if test "$PHP_IMAP_SSL" != "no"; then
+ PHP_ADD_LIBPATH($PHP_IMAP_SSL/lib, IMAP_SHARED_LIBADD)
+- PHP_ADD_LIBRARY_DEFER(crypto)
+- PHP_ADD_LIBRARY_DEFER(ssl)
++ PHP_ADD_LIBRARY_WITH_PATH(crypto, $PHP_IMAP_SSL/lib, IMAP_SHARED_LIBADD)
++ PHP_ADD_LIBRARY_WITH_PATH(ssl, $PHP_IMAP_SSL/lib, IMAP_SHARED_LIBADD)
+
+ old_LIBS=$LIBS
++ LIBS="$LIBS -lssl -lcrypto"
+ LIBS="$LIBS -lc-client"
+ if test $PHP_KERBEROS != "no"; then
+ LIBS="$LIBS -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err"
+@@ -133,8 +134,7 @@
+ fi
+
+ PHP_ADD_INCLUDE($IMAP_INC_DIR)
+- PHP_ADD_LIBPATH($IMAP_LIBDIR, IMAP_SHARED_LIBADD)
+- PHP_ADD_LIBRARY_DEFER($IMAP_LIB)
++ PHP_ADD_LIBRARY_WITH_PATH($IMAP_LIB, $IMAP_LIBDIR, IMAP_SHARED_LIBADD)
+ PHP_IMAP_KRB_CHK
+ PHP_IMAP_SSL_CHK
+ fi
diff --git a/mail/php4-imap/patches/patch-ab b/mail/php4-imap/patches/patch-ab
new file mode 100644
index 00000000000..5965e016005
--- /dev/null
+++ b/mail/php4-imap/patches/patch-ab
@@ -0,0 +1,17 @@
+$NetBSD: patch-ab,v 1.1.1.1 2001/10/16 05:39:57 jlam Exp $
+
+--- php_imap.c.orig Wed May 30 13:27:49 2001
++++ php_imap.c
+@@ -432,7 +432,11 @@
+ ZEND_INIT_MODULE_GLOBALS(imap, php_imap_init_globals, NULL)
+
+
+-#if 1
++/*
++ * Use the installed c-client linkage.c to determine which drivers and
++ * authenticators are linked in.
++ */
++#if 0
+ #ifndef PHP_WIN32
+ mail_link(&unixdriver); /* link in the unix driver */
+ #endif