Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Jun 2002 11:40:41 -0400 (EDT)
From:      "Carl A. Schmidt" <carl@local1069.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        carl@local1069.com
Subject:   ports/39569: mod_php4 broken due to macro change in apache2.
Message-ID:  <200206191540.g5JFef1c035547@wayward.slackerbsd.org>

next in thread | raw e-mail | index | archive | help
>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200206191540.g5JFef1c035547>