Date: Sat, 10 Aug 2002 02:52:23 -0500 From: "Jon Noack" <noackjr@rice.edu> To: <dirk@FreeBSD.org> Cc: <ports@FreeBSD.org> Subject: mod_php4-4.2.2 and apache2-2.0.40 Message-ID: <000001c24042$dd0ad8d0$0a01a8c0@COMPGEEK>
next in thread | raw e-mail | index | archive | help
A patch to sapi/apache2filter/sapi_apache2.c is needed to make the mod_php4-4.2.2 port compile with the apache2-2.0.40 port. Later versions of this file in PHP CVS include the 'NULL' 3rd attribute for the 2 affected lines. Adding these allows the mod_php4-4.2.2 port to compile and it appears to be fully functional (tested with the www/gallery port, a PHP picture gallery). The patch is below: <patch> --- sapi/apache2filter/sapi_apache2.c.orig Mon May 6 10:42:23 2002 +++ sapi/apache2filter/sapi_apache2.c Sat Aug 10 02:37:01 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 = { </patch> Until they release the next version that should at least keep people running... Jon Noack To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000001c24042$dd0ad8d0$0a01a8c0>