summaryrefslogtreecommitdiffstats
path: root/www/mod_php5
diff options
context:
space:
mode:
authordirk <dirk@FreeBSD.org>2002-06-21 21:52:26 +0000
committerdirk <dirk@FreeBSD.org>2002-06-21 21:52:26 +0000
commita81d2fe7fc9d752d477a30c4af2b200373861bef (patch)
tree9d1b39ada19ab3dd4c23eaa874f97e3e75135eb8 /www/mod_php5
parent2a19f01cea4a6667190fa93db8d32321dd85f051 (diff)
downloadFreeBSD-ports-a81d2fe7fc9d752d477a30c4af2b200373861bef.zip
FreeBSD-ports-a81d2fe7fc9d752d477a30c4af2b200373861bef.tar.gz
Fix compile error with apache-2.0.39.
PR: ports/39529 Submitted by: Chris <chris@kulish.com>
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 ac1a344..d5ecfe1 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 0000000..f153c13
--- /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);
OpenPOWER on IntegriCloud