diff options
Diffstat (limited to 'www/php4/patches')
-rw-r--r-- | www/php4/patches/patch-ab | 14 | ||||
-rw-r--r-- | www/php4/patches/patch-ai | 17 |
2 files changed, 7 insertions, 24 deletions
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) { |