From yasu@home.utahime.org Mon Mar 12 20:23:40 2007 Return-Path: Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B201416A400 for ; Mon, 12 Mar 2007 20:23:40 +0000 (UTC) (envelope-from yasu@home.utahime.org) Received: from utahime.as.wakwak.ne.jp (utahime.as.wakwak.ne.jp [61.205.238.40]) by mx1.freebsd.org (Postfix) with ESMTP id 7D9A613C4C5 for ; Mon, 12 Mar 2007 20:23:40 +0000 (UTC) (envelope-from yasu@home.utahime.org) Received: from eastasia.home.utahime.org (eastasia.home.utahime.org [192.168.174.1]) by utahime.as.wakwak.ne.jp (Postfix) with ESMTP id 99C881701C; Tue, 13 Mar 2007 05:23:39 +0900 (JST) Received: from eastasia.home.utahime.org (localhost.home.utahime.org [127.0.0.1]) by localhost-backdoor.home.utahime.org (Postfix) with ESMTP id 5A1C37C; Tue, 13 Mar 2007 05:23:39 +0900 (JST) Received: by eastasia.home.utahime.org (Postfix, from userid 1000) id 317C221; Tue, 13 Mar 2007 05:23:39 +0900 (JST) Message-Id: <20070312202339.317C221@eastasia.home.utahime.org> Date: Tue, 13 Mar 2007 05:23:39 +0900 (JST) From: KIMURA Yasuhiro To: FreeBSD-gnats-submit@freebsd.org Subject: [PATCH] lang/php5: revision 1.42 of Makefile.ext cause breakage of preg_match() X-Send-Pr-Version: 3.113 X-GNATS-Notify: >Number: 110240 >Category: ports >Synopsis: [PATCH] lang/php5: revision 1.42 of Makefile.ext cause breakage of preg_match() >Confidential: no >Severity: serious >Priority: medium >Responsible: ale >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Mar 12 20:30:03 GMT 2007 >Closed-Date: Tue Mar 13 07:12:47 GMT 2007 >Last-Modified: Tue Mar 13 07:12:47 GMT 2007 >Originator: KIMURA Yasuhiro >Release: FreeBSD 6.2-RELEASE-p2 i386 >Organization: >Environment: System: FreeBSD xxxx 6.2-RELEASE-p2 FreeBSD 6.2-RELEASE-p2 #0: Sat Mar 3 08:52:27 JST 2007 xxxx i386 >Description: Revision 1.42 of lang/php5/Makefile.ext cause breakage of preg_match(). For example Squirrelmail (mail/squirrelmail) does not work collectly after php5-pcre is updated to 5.1.2_4, and following error message is left in error log of Apache: [Mon Mar 12 18:46:52 2007] [error] [client XXXXXXXX] PHP Warning: preg_match() [function.preg-match]: Internal pcre_fullinfo() error -3 in /usr/local/www/squirrelmail/functions/imap_mailbox.php on line 243, referer: https://XXXXXXXX/squirrelmail/src/webmail.php >How-To-Repeat: >Fix: Apply following patch, which means rollback of revision 1.42. --- patch-php5 begins here --- Index: Makefile.ext =================================================================== RCS file: /usr1/freebsd/cvsroot/ports/lang/php5/Makefile.ext,v retrieving revision 1.42 retrieving revision 1.41 diff -u -r1.42 -r1.41 --- Makefile.ext 11 Mar 2007 21:54:16 -0000 1.42 +++ Makefile.ext 10 Mar 2007 05:41:56 -0000 1.41 @@ -237,9 +237,9 @@ .endif .if ${PHP_MODNAME} == "pcre" -LIB_DEPENDS+= pcre.0:${PORTSDIR}/devel/pcre +CONFIGURE_ARGS+=--with-pcre-regex=yes -CONFIGURE_ARGS+=--with-pcre-regex=${LOCALBASE} +PHP_HEADER_DIRS=pcrelib .endif .if ${PHP_MODNAME} == "pdo" --- patch-php5 ends here --- >Release-Note: >Audit-Trail: Responsible-Changed-From-To: freebsd-ports-bugs->ale Responsible-Changed-By: edwin Responsible-Changed-When: Mon Mar 12 20:30:15 UTC 2007 Responsible-Changed-Why: Over to maintainer http://www.freebsd.org/cgi/query-pr.cgi?pr=110240 State-Changed-From-To: open->closed State-Changed-By: ale State-Changed-When: Tue Mar 13 07:12:27 UTC 2007 State-Changed-Why: Committed. http://www.freebsd.org/cgi/query-pr.cgi?pr=110240 >Unformatted: