diff options
author | dirk <dirk@FreeBSD.org> | 2002-08-13 04:57:44 +0800 |
---|---|---|
committer | dirk <dirk@FreeBSD.org> | 2002-08-13 04:57:44 +0800 |
commit | 2c6f5a04458f2b602bd425a71170f85ed9154b1e (patch) | |
tree | 6a30fc3393a0264579448d6a7039fdd253afa50a /www/mod_php5 | |
parent | c01ed51fcd411a12e2edf0c33aa0c9467aaf8201 (diff) | |
download | freebsd-ports-gnome-2c6f5a04458f2b602bd425a71170f85ed9154b1e.tar.gz freebsd-ports-gnome-2c6f5a04458f2b602bd425a71170f85ed9154b1e.tar.zst freebsd-ports-gnome-2c6f5a04458f2b602bd425a71170f85ed9154b1e.zip |
Fix build with apache-2.0.40.
ap_register_input_filter() and ap_register_output_filter() take
four arguments, now.
Submitted by: Jon Noack <noackjr@rice.edu>
Obtained from: PHP's CVS repository
Diffstat (limited to 'www/mod_php5')
-rw-r--r-- | www/mod_php5/files/patch-sapi_apache2filter_sapi_apache2.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/www/mod_php5/files/patch-sapi_apache2filter_sapi_apache2.c b/www/mod_php5/files/patch-sapi_apache2filter_sapi_apache2.c new file mode 100644 index 000000000000..fef8ad51be9b --- /dev/null +++ b/www/mod_php5/files/patch-sapi_apache2filter_sapi_apache2.c @@ -0,0 +1,13 @@ +--- sapi/apache2filter/sapi_apache2.c.orig Mon May 6 17:42:23 2002 ++++ sapi/apache2filter/sapi_apache2.c Mon Aug 12 22:49:58 2002 +@@ -531,8 +531,8 @@ + ap_hook_post_config(php_apache_server_startup, NULL, NULL, APR_HOOK_MIDDLE); + ap_hook_insert_filter(php_insert_filter, NULL, NULL, APR_HOOK_MIDDLE); + ap_hook_post_read_request(php_post_read_request, NULL, NULL, APR_HOOK_MIDDLE); +- ap_register_output_filter("PHP", php_output_filter, AP_FTYPE_RESOURCE); +- ap_register_input_filter("PHP", php_input_filter, AP_FTYPE_RESOURCE); ++ ap_register_output_filter("PHP", php_output_filter, NULL, AP_FTYPE_RESOURCE); ++ ap_register_input_filter("PHP", php_input_filter, NULL, AP_FTYPE_RESOURCE); + } + + AP_MODULE_DECLARE_DATA module php4_module = { |