From b198b37754ad8e41777ea1c05d0af67f9b6a7335 Mon Sep 17 00:00:00 2001 From: jdolecek Date: Sun, 31 Aug 2003 19:55:21 +0000 Subject: Update PHP to final 4.3.3 Some highlights of changes since 4.2.3: * PCRE updated to 4.3, GD to 2.0.15 * improved Apache2 support * much improved stream & URL wrapper support, output compression support * added CLI (Command Line Interface) SAPI * debug_backtrace() backported from ZendEngine2 * faster build system * huge number of other bug fixes and improvements Packaging changes: * 'pcre', 'xml', and 'session' modules folded back into main package - 'pcre' and 'xml' is required by PEAR, and 'session' is just too essential to be separate * 'gd' module now uses bundled PHP GD library, which is better integrated * PHP modules use shared distinfo when possible to ease future PHP updates * ${PREFIX}/bin/php is now CLI version, ${PREFIX}/libexec/cgi-big/php remains CGI version --- misc/php4-mbstring/Makefile | 4 ++-- misc/php4-mbstring/patches/patch-aa | 36 ------------------------------------ 2 files changed, 2 insertions(+), 38 deletions(-) delete mode 100644 misc/php4-mbstring/patches/patch-aa (limited to 'misc/php4-mbstring') diff --git a/misc/php4-mbstring/Makefile b/misc/php4-mbstring/Makefile index e82d12b89a2..ec3eeceac72 100644 --- a/misc/php4-mbstring/Makefile +++ b/misc/php4-mbstring/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.5 2002/11/30 15:13:24 taca Exp $ +# $NetBSD: Makefile,v 1.6 2003/08/31 19:55:51 jdolecek Exp $ MODNAME= mbstring CATEGORIES+= misc -PKGREVISION= 1 +PKGREVISION= # empty COMMENT= PHP4 extension for multibyte characters support (currently, Japanese only) USE_BUILDLINK2= YES diff --git a/misc/php4-mbstring/patches/patch-aa b/misc/php4-mbstring/patches/patch-aa deleted file mode 100644 index 7bc59ff4ba4..00000000000 --- a/misc/php4-mbstring/patches/patch-aa +++ /dev/null @@ -1,36 +0,0 @@ -$NetBSD: patch-aa,v 1.1 2002/11/30 15:13:26 taca Exp $ - ---- mbstring.c.orig Thu Aug 1 14:47:56 2002 -+++ mbstring.c -@@ -1031,14 +1031,19 @@ php_mbstr_encoding_handler(zval *arg, ch - var = php_strtok_r(res, separator, &strtok_buf); - while (var) { - val = strchr(var, '='); -- val_list[n] = var; -- len_list[n] = php_url_decode(var, strlen(var)); -- n++; - if (val) { /* have a value */ -+ len_list[n] = php_url_decode(var, val-var); -+ val_list[n] = var; -+ n++; -+ - *val++ = '\0'; - val_list[n] = val; - len_list[n] = php_url_decode(val, strlen(val)); - } else { -+ len_list[n] = php_url_decode(var, strlen(var)); -+ val_list[n] = var; -+ n++; -+ - val_list[n] = ""; - len_list[n] = 0; - } -@@ -1375,7 +1380,7 @@ PHP_FUNCTION(mb_parse_str) - str_list[n] = var; - len_list[n] = php_url_decode(var, strlen(var)); - n++; -- str_list[n] = NULL; -+ str_list[n] = ""; - len_list[n] = 0; - } - n++; -- cgit v1.2.3