aboutsummaryrefslogtreecommitdiff
path: root/www/mod_php5
diff options
context:
space:
mode:
authorDirk Froemberg <dirk@FreeBSD.org>2002-06-21 21:52:26 +0000
committerDirk Froemberg <dirk@FreeBSD.org>2002-06-21 21:52:26 +0000
commitea7ad4479869a7a8ddb06371703e9bde9016497f (patch)
tree76065b41a9e19181131e7b3d598b1d3c694499ea /www/mod_php5
parentdd5a61a300ec3c56e73b2eb5e3bf9ad33e12f409 (diff)
downloadports-ea7ad4479869a7a8ddb06371703e9bde9016497f.tar.gz
ports-ea7ad4479869a7a8ddb06371703e9bde9016497f.zip
Fix compile error with apache-2.0.39.
PR: ports/39529 Submitted by: Chris <chris@kulish.com>
Notes
Notes: svn path=/head/; revision=61707
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);