pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www php 4.4.1 has a bug which cause squirrelmail's sor...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c27b205a5efc
branches:  trunk
changeset: 502769:c27b205a5efc
user:      bouyer <bouyer%pkgsrc.org@localhost>
date:      Tue Nov 08 20:33:55 2005 +0000

description:
php 4.4.1 has a bug which cause squirrelmail's sort function to misbehave:
(endless loop):
http://bugs.php.net/bug.php?id=35067
Pull in a patch from the php CVS repository to fix this, as suggested a
squirrelmail mailing list:
http://cvs.php.net/diff.php/php-src/ext/standard/basic_functions.c?r1=1.543.2.51.2.3&r2=1.543.2.51.2.4&ty=u

OK'd by Jaromir Dolecek, tested on apache-1 and apache-2 servers.
Bump pkgrevision.

diffstat:

 www/ap-php/Makefile       |   4 ++--
 www/php4/Makefile         |   4 ++--
 www/php4/distinfo         |   3 ++-
 www/php4/patches/patch-ab |  15 +++++++++++++++
 4 files changed, 21 insertions(+), 5 deletions(-)

diffs (61 lines):

diff -r 38c7c02898cf -r c27b205a5efc www/ap-php/Makefile
--- a/www/ap-php/Makefile       Tue Nov 08 20:33:50 2005 +0000
+++ b/www/ap-php/Makefile       Tue Nov 08 20:33:55 2005 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.5 2005/10/08 16:49:36 jdolecek Exp $
+# $NetBSD: Makefile,v 1.6 2005/11/08 20:33:55 bouyer Exp $
 #
 
 PKGNAME=               ap-php-${PHP_BASE_VERS}
-PKGREVISION=           2
+PKGREVISION=           3
 COMMENT=               Apache (${PKG_APACHE}) module for ${PKG_PHP}
 
 APACHE_MODULE=         YES
diff -r 38c7c02898cf -r c27b205a5efc www/php4/Makefile
--- a/www/php4/Makefile Tue Nov 08 20:33:50 2005 +0000
+++ b/www/php4/Makefile Tue Nov 08 20:33:55 2005 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.56 2005/11/02 10:48:01 tron Exp $
+# $NetBSD: Makefile,v 1.57 2005/11/08 20:33:55 bouyer Exp $
 
 PKGNAME=               php-${PHP_BASE_VERS}
-PKGREVISION=           1
+PKGREVISION=           2
 CATEGORIES+=           lang
 COMMENT=               HTML-embedded scripting language
 
diff -r 38c7c02898cf -r c27b205a5efc www/php4/distinfo
--- a/www/php4/distinfo Tue Nov 08 20:33:50 2005 +0000
+++ b/www/php4/distinfo Tue Nov 08 20:33:55 2005 +0000
@@ -1,9 +1,10 @@
-$NetBSD: distinfo,v 1.48 2005/11/02 09:47:23 tron Exp $
+$NetBSD: distinfo,v 1.49 2005/11/08 20:33:55 bouyer Exp $
 
 SHA1 (php-4.4.1.tar.bz2) = 61fe43719c707e1163eaaab33b65907733e34a1f
 RMD160 (php-4.4.1.tar.bz2) = fb7f5b90d05a2efa8f0122740e2c27a29f28574e
 Size (php-4.4.1.tar.bz2) = 4157749 bytes
 SHA1 (patch-aa) = feb064407950d0fc732b7240e65cac84420d2407
+SHA1 (patch-ab) = 75463903cf9b3d276556b83e0d422b146c105852
 SHA1 (patch-ad) = 9ca5d2f59bfeea77a98cd0e727546d11669114cd
 SHA1 (patch-ag) = 1ded1d7f4daac6806f41864c783f16d3403315e4
 SHA1 (patch-ah) = 0ac37bd35c4594cb58f1ea85ef811154b644a931
diff -r 38c7c02898cf -r c27b205a5efc www/php4/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/php4/patches/patch-ab Tue Nov 08 20:33:55 2005 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-ab,v 1.20 2005/11/08 20:33:55 bouyer Exp $
+
+--- ext/standard/basic_functions.c.orig        Tue Nov  8 18:08:58 2005
++++ ext/standard/basic_functions.c     Tue Nov  8 18:08:28 2005
+@@ -802,8 +802,8 @@
+       PHP_FE(prev,                                    first_arg_force_ref)
+       PHP_FE(next,                                    first_arg_force_ref)
+       PHP_FE(reset,                                   first_arg_force_ref)
+-      PHP_FE(current,                                 NULL)
+-      PHP_FE(key,                                     NULL)
++      PHP_FE(current,                                 first_arg_force_ref)
++      PHP_FE(key,                                     first_arg_force_ref)
+       PHP_FE(min,                                                                                                                             NULL)
+       PHP_FE(max,                                                                                                                             NULL)
+       PHP_FE(in_array,                                                                                                                NULL)



Home | Main Index | Thread Index | Old Index