From owner-freebsd-ports Fri Aug 24 6:10:25 2001 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 432BB37B405 for ; Fri, 24 Aug 2001 06:10:16 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f7ODA0O29620; Fri, 24 Aug 2001 06:10:00 -0700 (PDT) (envelope-from gnats) Received: from postoffice.aims.com.au (advanc2.lnk.telstra.net [139.130.119.73]) by hub.freebsd.org (Postfix) with ESMTP id F386A37B409 for ; Fri, 24 Aug 2001 06:02:46 -0700 (PDT) (envelope-from chris@aims.com.au) Received: from postoffice.aims.com.au (nts-ts1.aims.private [192.168.10.2]) by postoffice.aims.com.au with ESMTP id f7OD2dr08915 for ; Fri, 24 Aug 2001 23:02:39 +1000 (EST) (envelope-from chris@aims.com.au) Received: from ntsts1 by aims.com.au with SMTP (MDaemon.v3.5.3.R) for ; Fri, 24 Aug 2001 23:02:02 +1000 Message-Id: <200108241259.f7OCx3E12585@webserver4.aims.private> Date: Fri, 24 Aug 2001 23:01:58 +1000 From: chris@aims.com.au Reply-To: To: X-Send-Pr-Version: 3.2 Subject: ports/30028: Issue between www/mod_php4 and graphics/gd 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: 30028 >Category: ports >Synopsis: Issue between www/mod_php4 and graphics/gd >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Aug 24 06:10:00 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Chris Knight >Release: FreeBSD 4.2-RELEASE i386 >Organization: AIMS Independent Computer Professionals >Environment: FreeBSD webserver4.aims.private 4.2-RELEASE FreeBSD 4.2-RELEASE #0: Thu May 10 13:12:10 EST 2001 root@webserver4.aims.private:/usr/src/sys/compile/WEBSERVER i386 >Description: www/mod_php4-4.0.6_4 and graphics/gd-1.8.4_3 have differing ideas on GIF handling. Someone has decided to redeclare the function prototypes for gdImageCreateFromGif and gdImageCreateFromGifCtx in gd.h. However, PHP4's configure looks for these function prototypes to enable GIF support, and subsequently fails in ext/gd/gd.c in PHP_FUNCTION(imagegif). I'm of the opinion that the version bump for the shared library was for the removal of the GIF functions, therefore the redefinition of the two function prototypes should be removed. If the GIF functions are still a requirement, then a previous version of gd should be restored as the port gd1 so these functions should be used. However, I've decided to have it both ways and have logged a bug report for PHP. The bug report is at http://www.php.net/bugs.php?id=12945 for those who are interested. I've fixed this for myself, but I'm unsure of how this should be handled in the ports tree. Maybe the maintainers for mod_php4 and gd could resolve this. >How-To-Repeat: On a clean system: cd /usr/ports/graphics/gd make install cd /usr/ports/www/mod_php4 make install Watch php4 die horribly in ext/gd/gd.c >Fix: Remove the patch chunk to gd.h in /usr/ports/graphics/gd/files/patch-gif >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message