From owner-freebsd-ports Sat Aug 10 11:10:17 2002 Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EAD0037B400; Sat, 10 Aug 2002 11:10:08 -0700 (PDT) Received: from patriarch.dnsalias.org (adsl-65-71-34-229.dsl.hstntx.swbell.net [65.71.34.229]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1314843E3B; Sat, 10 Aug 2002 11:10:08 -0700 (PDT) (envelope-from noackjr@rice.edu) Received: from COMPGEEK ([127.0.0.1]) by patriarch.dnsalias.org with Microsoft SMTPSVC(6.0.2600.1); Sat, 10 Aug 2002 13:09:59 -0500 Reply-To: From: "Jon Noack" To: "'Rick Fournier'" , Cc: , Subject: RE: mod_php4-4.2.2 and apache2-2.0.40 Date: Sat, 10 Aug 2002 13:09:54 -0500 Message-ID: <000001c24099$20d57830$0a01a8c0@COMPGEEK> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.3416 In-Reply-To: <200208101346.07546.rick@help-desk.ca> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal X-OriginalArrivalTime: 10 Aug 2002 18:09:59.0686 (UTC) FILETIME=[23EF6260:01C24099] Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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...): --- 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 = { 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: > > > --- 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 = { > > > 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