Date: Tue, 13 Mar 2007 05:23:39 +0900 (JST) From: KIMURA Yasuhiro <yasu@utahime.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/110240: [PATCH] lang/php5: revision 1.42 of Makefile.ext cause breakage of preg_match() Message-ID: <20070312202339.317C221@eastasia.home.utahime.org> Resent-Message-ID: <200703122030.l2CKU4F5008346@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Mar 12 20:30:03 GMT 2007 >Closed-Date: >Last-Modified: >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() [<a href='function.preg-match'>function.preg-match</a>]: 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: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070312202339.317C221>