Date: Sat, 10 Aug 2002 13:09:54 -0500 From: "Jon Noack" <noackjr@rice.edu> To: "'Rick Fournier'" <rick@help-desk.ca>, <dirk@FreeBSD.org> Cc: <ports@FreeBSD.org>, <noackjr@rice.edu> Subject: RE: mod_php4-4.2.2 and apache2-2.0.40 Message-ID: <000001c24099$20d57830$0a01a8c0@COMPGEEK> In-Reply-To: <200208101346.07546.rick@help-desk.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
Yeah, the email wrapped the text. I tried to fix that in the second email, but it didn't work. Try this one (basically just bring the wrapped lines back around -- might have to adjust whitespace as I just corrected the one in the email and then bumped up the "wrap at" number of lines...): <patch> --- sapi_apache2.c.orig Mon May 6 10:42:23 2002 +++ 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> Jon Noack -----Original Message----- From: Rick Fournier [mailto:rick@help-desk.ca] Sent: Saturday, August 10, 2002 12:46 PM To: noackjr@rice.edu Subject: Re: mod_php4-4.2.2 and apache2-2.0.40 Hello, I tried using this patch and its not working,, [13:44](root@dark)[/usr/ports/www/mod_php4/work/php-4.2.2/sapi/apache2fi lter]> patch < patch-bb Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |--- sapi_apache2.c.orig Mon May 6 10:42:23 2002 |+++ sapi_apache2.c Sat Aug 10 02:37:01 2002 -------------------------- Patching file sapi_apache2.c using Plan A... patch: **** malformed patch at line 5: APR_HOOK_MIDDLE); Im not 100% sure how im to install this patch ;o) Any help would be appreciated ;o) Rick, On August 10, 2002 03:58 am, Jon Noack wrote: > That should be: > > <patch> > --- sapi_apache2.c.orig Mon May 6 10:42:23 2002 > +++ 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> > > I'm an idiot... > > Jon Noack > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-ports" in the body of the message 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?000001c24099$20d57830$0a01a8c0>