aboutsummaryrefslogtreecommitdiff
path: root/www/mod_php5
diff options
context:
space:
mode:
Diffstat (limited to 'www/mod_php5')
-rw-r--r--www/mod_php5/Makefile2
-rw-r--r--www/mod_php5/files/patch-sapi_apache2filter_php_functions.c11
2 files changed, 12 insertions, 1 deletions
diff --git a/www/mod_php5/Makefile b/www/mod_php5/Makefile
index ac1a344230ba..d5ecfe1745d6 100644
--- a/www/mod_php5/Makefile
+++ b/www/mod_php5/Makefile
@@ -7,7 +7,7 @@
PORTNAME?= mod_php4
PORTVERSION= 4.2.1
-PORTREVISION?= 1
+PORTREVISION?= 2
CATEGORIES?= www
MASTER_SITES= http://us.php.net/${PHP_DISTDIR}/ \
http://php.he.net/${PHP_DISTDIR}/ \
diff --git a/www/mod_php5/files/patch-sapi_apache2filter_php_functions.c b/www/mod_php5/files/patch-sapi_apache2filter_php_functions.c
new file mode 100644
index 000000000000..f153c130a511
--- /dev/null
+++ b/www/mod_php5/files/patch-sapi_apache2filter_php_functions.c
@@ -0,0 +1,11 @@
+--- sapi/apache2filter/php_functions.c.orig Sat May 11 11:49:54 2002
++++ sapi/apache2filter/php_functions.c Fri Jun 21 23:45:16 2002
+@@ -90,7 +90,7 @@
+ ADD_STRING(method);
+ ADD_LONG(mtime);
+ ADD_LONG(clength);
+-#if !MODULE_MAGIC_AT_LEAST(20020506,0)
++#if !AP_MODULE_MAGIC_AT_LEAST(20020506,0)
+ ADD_STRING(boundary);
+ #endif
+ ADD_STRING(range);