diff options
author | Dirk Froemberg <dirk@FreeBSD.org> | 2002-08-12 20:57:44 +0000 |
---|---|---|
committer | Dirk Froemberg <dirk@FreeBSD.org> | 2002-08-12 20:57:44 +0000 |
commit | f2a076ccbe46638e894d99f1a745bc4eb42f122b (patch) | |
tree | 35a30f34ba165718b92d7bc153045436fca91395 /www/mod_php4 | |
parent | Update to match current reality vis-a-vis source collections and (diff) |
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_php4')
-rw-r--r-- | www/mod_php4/files/patch-sapi_apache2filter_sapi_apache2.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/www/mod_php4/files/patch-sapi_apache2filter_sapi_apache2.c b/www/mod_php4/files/patch-sapi_apache2filter_sapi_apache2.c new file mode 100644 index 000000000000..fef8ad51be9b --- /dev/null +++ b/www/mod_php4/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 = { |