diff options
author | ale <ale@FreeBSD.org> | 2005-11-04 16:39:28 +0800 |
---|---|---|
committer | ale <ale@FreeBSD.org> | 2005-11-04 16:39:28 +0800 |
commit | 9fbd1034e002c88cbc7a9f26ac21fad2cf6bef37 (patch) | |
tree | 56530ce93e228f5775ed9bbb5be0a725e4cca8ce /lang/php4 | |
parent | ae45c501958205e077df9d807d1e7f75a687f1ef (diff) | |
download | freebsd-ports-gnome-9fbd1034e002c88cbc7a9f26ac21fad2cf6bef37.tar.gz freebsd-ports-gnome-9fbd1034e002c88cbc7a9f26ac21fad2cf6bef37.tar.zst freebsd-ports-gnome-9fbd1034e002c88cbc7a9f26ac21fad2cf6bef37.zip |
- Make key() and current() functions work by reference
- Bump PORTREVISION
PR: ports/88481
Submitted by: Matthew Luckie <mjl@luckie.org.nz>
Obtained from: PHP CVS
Diffstat (limited to 'lang/php4')
-rw-r--r-- | lang/php4/Makefile | 2 | ||||
-rw-r--r-- | lang/php4/files/patch-ext_standard_basic_functions.c | 13 |
2 files changed, 14 insertions, 1 deletions
diff --git a/lang/php4/Makefile b/lang/php4/Makefile index 324ad0355e95..5e97d6ed7866 100644 --- a/lang/php4/Makefile +++ b/lang/php4/Makefile @@ -7,7 +7,7 @@ PORTNAME= php4 PORTVERSION= 4.4.1 -PORTREVISION?= 0 +PORTREVISION?= 1 CATEGORIES?= lang devel www MASTER_SITES= ${MASTER_SITE_PHP:S,$,:release,} \ http://downloads.php.net/ilia/:rc \ diff --git a/lang/php4/files/patch-ext_standard_basic_functions.c b/lang/php4/files/patch-ext_standard_basic_functions.c new file mode 100644 index 000000000000..272a066ec51e --- /dev/null +++ b/lang/php4/files/patch-ext_standard_basic_functions.c @@ -0,0 +1,13 @@ +--- ext/standard/basic_functions.c.orig Fri Nov 4 09:30:04 2005 ++++ ext/standard/basic_functions.c Fri Nov 4 09:30:56 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) |