Date: Mon, 16 Apr 2012 03:00:28 +0600 (BDT) From: Muhammad Moinur Rahman <5u623l20@gmail.com> To: FreeBSD-gnats-submit@FreeBSD.org Cc: miwi@FreeBSD.org Subject: ports/166982: [PATCH] graphics/pear-Image_Graph: update to 0.8.0 Message-ID: <201204152100.q3FL0SWC010574@bofh.telnet.net.bd> Resent-Message-ID: <201204152110.q3FLAAY0098829@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 166982 >Category: ports >Synopsis: [PATCH] graphics/pear-Image_Graph: update to 0.8.0 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sun Apr 15 21:10:10 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Muhammad Moinur Rahman >Release: FreeBSD 9.0-STABLE amd64 >Organization: >Environment: System: FreeBSD bofh.telnet.net.bd 9.0-STABLE FreeBSD 9.0-STABLE #0: Fri Mar 2 02:21:51 BDT >Description: - Update to 0.8.0 Removed file(s): - files/extra-patch-Graph__Layout.php For Committer's reference: http://tb.s.ubze.ro//logs/7.4-FreeBSD/i386/pear-Image_Graph-0.8.0.log http://tb.s.ubze.ro//logs/7.4-FreeBSD/amd64/pear-Image_Graph-0.8.0.log http://tb.s.ubze.ro//logs/8.2-RELEASE/i386/pear-Image_Graph-0.8.0.log http://tb.s.ubze.ro//logs/8.2-RELEASE/amd64/pear-Image_Graph-0.8.0.log http://tb.s.ubze.ro//logs/9.0-FreeBSD/i386/pear-Image_Graph-0.8.0.log http://tb.s.ubze.ro//logs/9.0-FreeBSD/amd64/pear-Image_Graph-0.8.0.log Port maintainer (miwi@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.99_5 (mode: update, diff: ports) >How-To-Repeat: >Fix: --- pear-Image_Graph-0.8.0.patch begins here --- diff -ruN --exclude=CVS /usr/ports/graphics/pear-Image_Graph/Makefile ./Makefile --- /usr/ports/graphics/pear-Image_Graph/Makefile 2010-07-12 12:39:53.000000000 +0600 +++ ./Makefile 2012-04-16 02:55:59.565612149 +0600 @@ -6,8 +6,7 @@ # PORTNAME= Image_Graph -PORTVERSION= 0.7.2 -PORTREVISION= 3 +PORTVERSION= 0.8.0 CATEGORIES= graphics www pear MAINTAINER= miwi@FreeBSD.org @@ -20,6 +19,8 @@ USE_PHP= yes USE_DOS2UNIX= yes DOS2UNIX_REGEX= .*php$$ +DEFAULT_PHP_VER= 5 +IGNORE_WITH_PHP= 4 CATEGORY= Image FILES= Graph.php Graph/Axis.php Graph/Common.php Graph/Config.php \ @@ -176,32 +177,5 @@ fi .endfor -# fix for php5.3, see http://pear.php.net/bugs/bug.php?id=16529 -.if ${PHP_VER} != 4 -.for file in ${FILES} - @if ${ECHO_CMD} ${file} | ${GREP} -q -e "php$$" ; then \ - ${REINPLACE_CMD} -e 's|parent::Image[^(]*|parent::__construct|' \ - -e 's|PHP versions 4 and 5|PHP version 5|' ${WRKSRC}/${file}; \ - fi -.endfor -# fix PHP Deprecated messages -# - Assigning the return value of new by reference -# - Call-time pass-by-reference has been deprecated -.for file in ${DOCS} - @if ${ECHO_CMD} ${file} | ${GREP} -q -e "php$$" ; then \ - ${REINPLACE_CMD} -e 's|=& |= |g' -e 's| &\$$| \$$|g' \ - ${WRKSRC}/docs/${file}; \ - fi -.endfor -.for file in ${TESTS} - @if ${ECHO_CMD} ${file} | ${GREP} -q -e "php$$" ; then \ - ${REINPLACE_CMD} -e 's|PHP versions 4 and 5|PHP version 5|' \ - ${WRKSRC}/tests/${file}; \ - fi -.endfor - @${REINPLACE_CMD} -e 's|=& new|= new|g' ${WRKSRC}/Graph.php -EXTRA_PATCHES+= ${FILESDIR}/extra-patch-Graph__Layout.php -.endif - .include "${PORTSDIR}/devel/pear/bsd.pear.mk" .include <bsd.port.post.mk> diff -ruN --exclude=CVS /usr/ports/graphics/pear-Image_Graph/distinfo ./distinfo --- /usr/ports/graphics/pear-Image_Graph/distinfo 2011-07-03 20:11:52.000000000 +0600 +++ ./distinfo 2012-04-16 02:50:41.952612452 +0600 @@ -1,2 +1,2 @@ -SHA256 (PEAR/Image_Graph-0.7.2.tgz) = a31b7f0cb62edf0372ecd3a5518d32c4b253c8c71350a7127aea5726b83ceee3 -SIZE (PEAR/Image_Graph-0.7.2.tgz) = 368056 +SHA256 (PEAR/Image_Graph-0.8.0.tgz) = 6f7eca536299eb805b368175201a1a145697e0f645b5b88eef6c1621d2906d1c +SIZE (PEAR/Image_Graph-0.8.0.tgz) = 367646 diff -ruN --exclude=CVS /usr/ports/graphics/pear-Image_Graph/files/extra-patch-Graph__Layout.php ./files/extra-patch-Graph__Layout.php --- /usr/ports/graphics/pear-Image_Graph/files/extra-patch-Graph__Layout.php 2010-07-12 12:39:53.000000000 +0600 +++ ./files/extra-patch-Graph__Layout.php 1970-01-01 06:00:00.000000000 +0600 @@ -1,11 +0,0 @@ ---- ./Graph/Layout.php.orig 2010-06-14 17:05:41.000000000 +0200 -+++ ./Graph/Layout.php 2010-06-14 17:06:24.000000000 +0200 -@@ -175,7 +175,7 @@ - function _push($edge, $size = '100%') - { - $result = array(); -- if (ereg("([0-9]*)\%", $size, $result)) { -+ if (preg_match("/([0-9]*)\%/", $size, $result)) { - $this->_alignSize[$edge] = array( - 'value' => min(100, max(0, $result[1])), - 'unit' => 'percentage' --- pear-Image_Graph-0.8.0.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201204152100.q3FL0SWC010574>