From owner-freebsd-ports Thu Jun 20 5:30:10 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 6C45837B401 for ; Thu, 20 Jun 2002 05:30:01 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g5KCU1X75067; Thu, 20 Jun 2002 05:30:01 -0700 (PDT) (envelope-from gnats) Received: from wayward.slackerbsd.org (pcp01400932pcs.glnodn01.pa.comcast.net [68.80.148.224]) by hub.freebsd.org (Postfix) with ESMTP id ACB5C37B40C for ; Thu, 20 Jun 2002 05:23:19 -0700 (PDT) Received: from wayward.slackerbsd.org (carl@localhost [127.0.0.1]) by wayward.slackerbsd.org (8.12.3/8.12.3) with ESMTP id g5JFef7m035548; Wed, 19 Jun 2002 15:40:41 GMT (envelope-from carl@wayward.slackerbsd.org) Received: (from carl@localhost) by wayward.slackerbsd.org (8.12.3/8.12.3/Submit) id g5JFef1c035547; Wed, 19 Jun 2002 11:40:41 -0400 (EDT) Message-Id: <200206191540.g5JFef1c035547@wayward.slackerbsd.org> Date: Wed, 19 Jun 2002 11:40:41 -0400 (EDT) From: "Carl A. Schmidt" Reply-To: "Carl A. Schmidt" To: FreeBSD-gnats-submit@FreeBSD.org Cc: carl@local1069.com X-Send-Pr-Version: 3.113 Subject: ports/39569: mod_php4 broken due to macro change in apache2. 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 >Number: 39569 >Category: ports >Synopsis: mod_php4 broken due to macro change in apache2. >Confidential: no >Severity: critical >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jun 20 05:30:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Carl A. Schmidt >Release: FreeBSD 4.6-RC i386 >Organization: >Environment: System: FreeBSD wayward.slackerbsd.org 4.6-RC FreeBSD 4.6-RC #0: Tue Jun 4 21:15:42 EDT 2002 root@wayward.slackerbsd.org:/usr/src/sys/compile/WAYWARD i386 >Description: A person e-mailed one of the lists stating the php4 build is broken WITH_APACHE2. I decided to try it since I updated my apache2 port as well and what do I find, it's broken. Php.net has a fix for it though in cvs and so I have attached a patch which fixes the build for me. >How-To-Repeat: Install apache2 port and build mod_php4 port with WITH_APACHE2. It should fail in sapi/apache2filter/php_functions.c on line 93. >Fix: --- php_functions.c.old Wed Jun 19 11:38:27 2002 +++ php_functions.c Wed Jun 19 11:39:13 2002 @@ -90,7 +90,7 @@ ADD_STRING(method); ADD_LONG(mtime); ADD_LONG(clength); -#if !MODULE_MAGIC_AT_LEAST(20020506,0) +#if MODULE_MAGIC_NUMBER < 20020506 ADD_STRING(boundary); #endif ADD_STRING(range); >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message