From e6574c7ba63b761f791f9cb98a8b0988bd92028c Mon Sep 17 00:00:00 2001 From: jdolecek Date: Tue, 28 Sep 2004 12:41:13 +0000 Subject: Update php4 package to bug-fix release 4.3.9. Changes since 4.3.8: * fixes to GPC input processing * bundled GD extension synced with 2.0.28, re-introducing write support for GIF (patent expiration worldwide) * Implemented periodic PCRE compiled regexp cache cleanup, to avoid memory exhaustion * Fixed strip_tags() to correctly handle '\0' characters. * Rewritten UNIX and Windows install help files. * Fixed a file-descriptor leak with phpinfo() and other 'special' URLs. * Fixed possible crash inside php_shutdown_config(). * Fixed isset crashes on arrays. * Fixed imagecreatefromstring() crashes with external GD library. * Fixed fgetcsv() parsing of strings ending with escaped enclosures. * Fixed overflow in array_slice(), array_splice(), substr(), substr_replace(), strspn(), strcspn(). * Fixed '\0' in Authenticate header passed via safe_mode. * Allow bundled GD to compile against freetype 2.1.2. All in all this release fixes over 50 bugs that have been discovered and resolved since the 4.3.8 release. --- www/php4/patches/patch-ab | 14 +++++++------- www/php4/patches/patch-ai | 17 ----------------- 2 files changed, 7 insertions(+), 24 deletions(-) delete mode 100644 www/php4/patches/patch-ai (limited to 'www/php4/patches') diff --git a/www/php4/patches/patch-ab b/www/php4/patches/patch-ab index d01c1148a88..749650d001c 100644 --- a/www/php4/patches/patch-ab +++ b/www/php4/patches/patch-ab @@ -1,7 +1,7 @@ -$NetBSD: patch-ab,v 1.15 2004/04/20 19:19:23 jdolecek Exp $ +$NetBSD: patch-ab,v 1.16 2004/09/28 12:41:13 jdolecek Exp $ ---- scripts/phpize.in.orig 2003-11-14 04:21:15.000000000 +0100 -+++ scripts/phpize.in 2004-04-02 20:23:49.000000000 +0200 +--- scripts/phpize.in.orig 2004-06-19 22:37:55.000000000 +0200 ++++ scripts/phpize.in 2004-09-28 11:35:45.000000000 +0200 @@ -54,18 +54,25 @@ touch install-sh mkinstalldirs missing @@ -9,8 +9,8 @@ $NetBSD: patch-ab,v 1.15 2004/04/20 19:19:23 jdolecek Exp $ -aclocal || exit 1 -autoconf || exit 1 -autoheader || exit 1 --test -x $builddir/build/shtool || chmod +x $builddir/build/shtool --if test ! -x $builddir/build/shtool; then +-test -x "$builddir/build/shtool" || chmod +x "$builddir/build/shtool" +-if test ! -x "$builddir/build/shtool"; then - echo "shtool at '$builddir/build/shtool' not executable. " - echo "Make sure that the file exists and is executable and then rerun this script. " - echo @@ -19,8 +19,8 @@ $NetBSD: patch-ab,v 1.15 2004/04/20 19:19:23 jdolecek Exp $ +if [ -z "$AUTOCONF" ]; then AUTOCONF=autoconf; fi +if [ -z "$AUTOHEADER" ]; then AUTOHEADER=autoheader; fi +if [ -z "$LIBTOOLIZE" ]; then -+ test -x $builddir/build/shtool || chmod +x $builddir/build/shtool -+ if test ! -x $builddir/build/shtool; then ++ test -x "$builddir/build/shtool" || chmod +x "$builddir/build/shtool" ++ if test ! -x "$builddir/build/shtool"; then + echo "shtool at '$builddir/build/shtool' not executable. " + echo "Make sure that the file exists and is executable and then rerun this script. " + echo diff --git a/www/php4/patches/patch-ai b/www/php4/patches/patch-ai deleted file mode 100644 index 482383b7b88..00000000000 --- a/www/php4/patches/patch-ai +++ /dev/null @@ -1,17 +0,0 @@ -$NetBSD: patch-ai,v 1.7 2004/07/13 12:22:29 jdolecek Exp $ - ---- Zend/zend_constants.c.orig 2004-07-13 14:01:27.000000000 +0200 -+++ Zend/zend_constants.c 2004-07-13 14:01:54.000000000 +0200 -@@ -265,11 +265,11 @@ - } - - if (zend_hash_add(EG(zend_constants), name, c->name_len, (void *) c, sizeof(zend_constant), NULL)==FAILURE) { -+ zend_error(E_NOTICE,"Constant %s already defined", name); - free(c->name); - if (!(c->flags & CONST_PERSISTENT)) { - zval_dtor(&c->value); - } -- zend_error(E_NOTICE,"Constant %s already defined", name); - ret = FAILURE; - } - if (lowercase_name) { -- cgit v1.2.3