diff options
author | mm <mm@FreeBSD.org> | 2014-09-04 03:48:24 +0800 |
---|---|---|
committer | mm <mm@FreeBSD.org> | 2014-09-04 03:48:24 +0800 |
commit | 1dc947f203dd35e0e38a49c9fb7e71a7af640706 (patch) | |
tree | d0da4c6d0d61ea4c27d2263f96e488a8caf2d154 /archivers | |
parent | 5b455ec95782a413f7a2200cd25dddca1a50d242 (diff) | |
download | freebsd-ports-graphics-1dc947f203dd35e0e38a49c9fb7e71a7af640706.tar.gz freebsd-ports-graphics-1dc947f203dd35e0e38a49c9fb7e71a7af640706.tar.zst freebsd-ports-graphics-1dc947f203dd35e0e38a49c9fb7e71a7af640706.zip |
Revert patch, issue fixed in r271048
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/pear-Horde_Pack/Makefile | 4 | ||||
-rw-r--r-- | archivers/pear-Horde_Pack/files/patch-Horde_Pack-1.0.3__lib__Horde_Pack.php | 26 | ||||
-rw-r--r-- | archivers/pear-Horde_Pack/files/patch-package.xml | 11 |
3 files changed, 1 insertions, 40 deletions
diff --git a/archivers/pear-Horde_Pack/Makefile b/archivers/pear-Horde_Pack/Makefile index 3a436cf630c..1fc154853e8 100644 --- a/archivers/pear-Horde_Pack/Makefile +++ b/archivers/pear-Horde_Pack/Makefile @@ -2,7 +2,7 @@ PORTNAME= Horde_Pack PORTVERSION= 1.0.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= archivers www pear PKGNAMEPREFIX= pear- @@ -12,8 +12,6 @@ COMMENT= Horde Pack Utility USE_HORDE_RUN= Horde_Compress_Fast \ Horde_Exception -PATCH_WRKSRC= ${WRKDIR} - .include <bsd.port.pre.mk> .include "${PORTSDIR}/devel/pear-channel-horde/bsd.horde.mk" .include <bsd.port.post.mk> diff --git a/archivers/pear-Horde_Pack/files/patch-Horde_Pack-1.0.3__lib__Horde_Pack.php b/archivers/pear-Horde_Pack/files/patch-Horde_Pack-1.0.3__lib__Horde_Pack.php deleted file mode 100644 index b6266988f98..00000000000 --- a/archivers/pear-Horde_Pack/files/patch-Horde_Pack-1.0.3__lib__Horde_Pack.php +++ /dev/null @@ -1,26 +0,0 @@ ---- Horde_Pack-1.0.3/lib/Horde/Pack.php.orig 2014-09-03 12:17:27.201458631 +0200 -+++ Horde_Pack-1.0.3/lib/Horde/Pack.php 2014-09-03 12:19:10.869687370 +0200 -@@ -49,18 +49,19 @@ - public function __construct() - { - if (empty(self::$_drivers)) { -- $fi = new FilesystemIterator(__DIR__ . '/Pack/Driver'); - $class_prefix = __CLASS__ . '_Driver_'; - -- foreach ($fi as $val) { -- if ($val->isFile()) { -- $cname = $class_prefix . $val->getBasename('.php'); -+ $handle = opendir(__DIR__ . '/Pack/Driver'); -+ while ($val = readdir($handle)) { -+ if (is_file(__DIR__ . '/Pack/Driver/' . $val)) { -+ $cname = $class_prefix . basename($val,'.php'); - if (class_exists($cname) && $cname::supported()) { - $ob = new $cname(); - self::$_drivers[$ob->id] = $ob; - } - } - } -+ closedir($handle); - - krsort(self::$_drivers, SORT_NUMERIC); - diff --git a/archivers/pear-Horde_Pack/files/patch-package.xml b/archivers/pear-Horde_Pack/files/patch-package.xml deleted file mode 100644 index 2bf4f48ccbe..00000000000 --- a/archivers/pear-Horde_Pack/files/patch-package.xml +++ /dev/null @@ -1,11 +0,0 @@ ---- package.xml.bak 2014-09-03 12:17:12.089477176 +0200 -+++ package.xml 2014-09-03 12:20:36.548435330 +0200 -@@ -35,7 +35,7 @@ - <file baseinstalldir="/" md5sum="c5ee864bfd2d2b866d82bf6f942743ad" name="lib/Horde/Pack/Autodetermine.php" role="php" /> - <file baseinstalldir="/" md5sum="c5d6ea0030d659ee75755f5a14bf9153" name="lib/Horde/Pack/Driver.php" role="php" /> - <file baseinstalldir="/" md5sum="70194aa896444794e78e6b85d6f3d1ec" name="lib/Horde/Pack/Exception.php" role="php" /> -- <file baseinstalldir="/" md5sum="6930e9f26cb49ac7eae3acce808d07cb" name="lib/Horde/Pack.php" role="php" /> -+ <file baseinstalldir="/" md5sum="13838721e5bf193fa12735c737e52deb" name="lib/Horde/Pack.php" role="php" /> - <file baseinstalldir="/" md5sum="cb37ee0c475c196a91fed183ca326ff7" name="test/Horde/Pack/Driver/IgbinaryTest.php" role="test" /> - <file baseinstalldir="/" md5sum="1b1d681efa25b37cc51a2e322874d2e1" name="test/Horde/Pack/Driver/JsonTest.php" role="test" /> - <file baseinstalldir="/" md5sum="b1176a21c9c2fb833dae0e1b07df8d97" name="test/Horde/Pack/Driver/MsgpackserializeTest.php" role="test" /> |