Date: Tuesday, May 5, 2015 @ 00:00:53 Author: seblu Revision: 238495 upgpkg: pcre 8.37-1
Modified: pcre/trunk/PKGBUILD Deleted: pcre/trunk/001-fix-heap-overflow.patch -----------------------------+ 001-fix-heap-overflow.patch | 16 ---------------- PKGBUILD | 18 ++++++++---------- 2 files changed, 8 insertions(+), 26 deletions(-) Deleted: 001-fix-heap-overflow.patch =================================================================== --- 001-fix-heap-overflow.patch 2015-05-04 21:00:31 UTC (rev 238494) +++ 001-fix-heap-overflow.patch 2015-05-04 22:00:53 UTC (rev 238495) @@ -1,16 +0,0 @@ ---- a/code/trunk/pcre_exec.c 2014/11/05 15:08:03 1510 -+++ b/code/trunk/pcre_exec.c 2014/11/19 20:57:13 1513 -@@ -1404,8 +1404,11 @@ - condition = TRUE; - - /* Advance ecode past the assertion to the start of the first branch, -- but adjust it so that the general choosing code below works. */ -- -+ but adjust it so that the general choosing code below works. If the -+ assertion has a quantifier that allows zero repeats we must skip over -+ the BRAZERO. This is a lunatic thing to do, but somebody did! */ -+ -+ if (*ecode == OP_BRAZERO) ecode++; - ecode += GET(ecode, 1); - while (*ecode == OP_ALT) ecode += GET(ecode, 1); - ecode += 1 + LINK_SIZE - PRIV(OP_lengths)[condcode]; Modified: PKGBUILD =================================================================== --- PKGBUILD 2015-05-04 21:00:31 UTC (rev 238494) +++ PKGBUILD 2015-05-04 22:00:53 UTC (rev 238495) @@ -5,8 +5,8 @@ # Contributor: John Proctor <[email protected]> pkgname=pcre -pkgver=8.36 -pkgrel=2 +pkgver=8.37 +pkgrel=1 pkgdesc='A library that implements Perl 5-style regular expressions' arch=('i686' 'x86_64') url='http://www.pcre.org/' @@ -13,15 +13,13 @@ license=('BSD') depends=('gcc-libs' 'readline' 'zlib' 'bzip2' 'bash') validpgpkeys=('45F68D54BBE23FB3039B46E59766E084FB0F43D8') # Philip Hazel -source=("ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/$pkgname-$pkgver.tar.bz2"{,.sig} - '001-fix-heap-overflow.patch') -md5sums=('b767bc9af0c20bc9c1fe403b0d41ad97' - 'SKIP' - '44a7e4fca07eff04d07bef65c982de9a') +source=("ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/$pkgname-$pkgver.tar.bz2"{,.sig}) +md5sums=('ed91be292cb01d21bc7e526816c26981' + 'SKIP') -prepare() { - patch -d $pkgname-$pkgver < 001-fix-heap-overflow.patch -} +#prepare() { +# patch -d $pkgname-$pkgver < 001-fix-heap-overflow.patch +#} build() { cd $pkgname-$pkgver
