From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Dec 16 17:00:14 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 895B116A41F for ; Fri, 16 Dec 2005 17:00:14 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id C92AD43D5E for ; Fri, 16 Dec 2005 17:00:13 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id jBGH0DbD074115 for ; Fri, 16 Dec 2005 17:00:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id jBGH0DYF074114; Fri, 16 Dec 2005 17:00:13 GMT (envelope-from gnats) Resent-Date: Fri, 16 Dec 2005 17:00:13 GMT Resent-Message-Id: <200512161700.jBGH0DYF074114@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Nick Muerdter Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C3E5716A41F; Fri, 16 Dec 2005 16:59:02 +0000 (GMT) (envelope-from nick@cclsrv02.rit.edu) Received: from cclsrv02.rit.edu (cclsrv02.rit.edu [129.21.204.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4543243D45; Fri, 16 Dec 2005 16:59:01 +0000 (GMT) (envelope-from nick@cclsrv02.rit.edu) Received: from cclsrv02.rit.edu (localhost [127.0.0.1]) by cclsrv02.rit.edu (8.13.1/8.13.1) with ESMTP id jBGH2rI9002911; Fri, 16 Dec 2005 12:02:53 -0500 (EST) (envelope-from nick@cclsrv02.rit.edu) Received: (from nick@localhost) by cclsrv02.rit.edu (8.13.1/8.13.1/Submit) id jBGH2rrQ002910; Fri, 16 Dec 2005 12:02:53 -0500 (EST) (envelope-from nick) Message-Id: <200512161702.jBGH2rrQ002910@cclsrv02.rit.edu> Date: Fri, 16 Dec 2005 12:02:53 -0500 (EST) From: Nick Muerdter To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: ale@FreeBSD.org Subject: ports/90506: [patch] pecl-fileinfo 1.0.2 won't compile against PHP 5.1.1 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Nick Muerdter List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Dec 2005 17:00:14 -0000 >Number: 90506 >Category: ports >Synopsis: [patch] pecl-fileinfo 1.0.2 won't compile against PHP 5.1.1 >Confidential: no >Severity: critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Dec 16 17:00:12 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Nick Muerdter >Release: FreeBSD 5.3-SECURITY i386 >Organization: >Environment: System: FreeBSD campuslife.rit.edu 5.3-SECURITY FreeBSD 5.3-SECURITY #0: Wed Jul 20 06:22:23 UTC 2005 root@builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 >Description: I think somewhere in the latest PHP upgrades (5.1.1, I think), pecl-fileinfo refuses to compile. Here's the fileinfo bug report, but an update has yet to be released: http://pecl.php.net/bugs/bug.php?id=6164 >How-To-Repeat: cd /usr/ports/sysutils/pecl-fileinfo make install >Fix: --- pecl-fileinfo.patch begins here --- diff -ruN pecl-fileinfo.bak/files/patch-fileinfo.c pecl-fileinfo/files/patch-fileinfo.c --- pecl-fileinfo.bak/files/patch-fileinfo.c Wed Dec 31 19:00:00 1969 +++ pecl-fileinfo/files/patch-fileinfo.c Fri Dec 16 11:35:02 2005 @@ -0,0 +1,11 @@ +--- fileinfo.c 6 Dec 2005 00:27:01 -0000 1.13 ++++ fileinfo.c 6 Dec 2005 04:14:55 -0000 +@@ -103,7 +103,7 @@ PHP_FILEINFO_API zend_object_value finfo + intern = ecalloc(1, sizeof(struct finfo_object)); + intern->zo.ce = class_type; + intern->zo.properties = NULL; +-#if ZEND_EXTENSION_API_NO > 220050000 ++#if ZEND_MODULE_API_NO >= 20050922 + intern->zo.guards = NULL; + #else + intern->zo.in_get = 0; --- pecl-fileinfo.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: