pcre2: Update to 10.32

This commit is contained in:
Alexey Pavlov 2018-10-30 11:03:33 +03:00
parent 69b3755c25
commit b5822d0d90
2 changed files with 4 additions and 19 deletions

View File

@ -2,7 +2,7 @@
pkgbase=pcre2
pkgname=('pcre2' 'libpcre2_8' 'libpcre2_16' 'libpcre2_32' 'libpcre2posix' 'pcre2-devel')
pkgver=10.31
pkgver=10.32
pkgrel=1
pkgdesc="A library that implements Perl 5-style regular expressions"
arch=('i686' 'x86_64')
@ -10,20 +10,16 @@ url="https://www.pcre.org/"
license=('BSD')
makedepends=('libreadline-devel' 'libbz2-devel' 'zlib-devel')
source=(ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/${pkgname}-${pkgver}.tar.bz2{,.sig}
pcre2-10.31-msys2.patch
cygwin-not-win32.patch)
sha256sums=('e07d538704aa65e477b6a392b32ff9fc5edf75ab9a40ddfc876186c4ff4d68ac'
pcre2-10.31-msys2.patch)
sha256sums=('f29e89cc5de813f45786580101aaee3984a65818631d4ddbda7b32f699b87c2e'
'SKIP'
'5cce2b122c50837930abb7ddc54fc6af14399f8ba7e017e098a5eef9fc89d4a6'
'466f35da9c46e82e1d4d8462bec27e758ec10e5e7294cac4724635655909f09c')
'5cce2b122c50837930abb7ddc54fc6af14399f8ba7e017e098a5eef9fc89d4a6')
prepare() {
cd "${srcdir}"/${pkgname}-${pkgver}
# MSYS2 patches
patch -p1 -i ${srcdir}/pcre2-10.31-msys2.patch
patch -p1 -i ${srcdir}/cygwin-not-win32.patch
autoreconf -fi
}

View File

@ -1,11 +0,0 @@
--- pcre2-10.31/src/pcre2grep.c.orig 2018-06-26 10:25:20.215288900 +0300
+++ pcre2-10.31/src/pcre2grep.c 2018-06-26 10:25:29.845302400 +0300
@@ -64,7 +64,7 @@
#endif
/* Some cmake's define it still */
-#if defined(__CYGWIN__) && !defined(WIN32)
+#if !defined(__CYGWIN__) && !defined(WIN32)
#define WIN32
#endif