summaryrefslogtreecommitdiff
path: root/user/perl-re-engine-re2
diff options
context:
space:
mode:
authorSíle Ekaterin Liszka <sheila@vulpine.house>2023-03-21 10:20:21 +0000
committerA. Wilcox <awilcox@wilcox-tech.com>2023-03-31 05:35:55 +0000
commited566e8b3574d71f46de4c6058cdfe619262c832 (patch)
tree5f012a04954918aaa871952732784c8718dfed15 /user/perl-re-engine-re2
parente765a5322bdea10b30e0585a8476d35fe032aede (diff)
downloadpackages-ed566e8b3574d71f46de4c6058cdfe619262c832.tar.gz
packages-ed566e8b3574d71f46de4c6058cdfe619262c832.tar.bz2
packages-ed566e8b3574d71f46de4c6058cdfe619262c832.tar.xz
packages-ed566e8b3574d71f46de4c6058cdfe619262c832.zip
user/perl-re-engine-re2: upgrade to 0.17
Diffstat (limited to 'user/perl-re-engine-re2')
-rw-r--r--user/perl-re-engine-re2/APKBUILD9
-rw-r--r--user/perl-re-engine-re2/fix-nullptr-retval.patch12
2 files changed, 3 insertions, 18 deletions
diff --git a/user/perl-re-engine-re2/APKBUILD b/user/perl-re-engine-re2/APKBUILD
index dbb19ae41..15c37ca1b 100644
--- a/user/perl-re-engine-re2/APKBUILD
+++ b/user/perl-re-engine-re2/APKBUILD
@@ -5,7 +5,7 @@ _pkgreal=re-engine-RE2
_author=DGL
_au=${_author%%"${_author#??}"}
_a=${_author%%"${_author#?}"}
-pkgver=0.14
+pkgver=0.17
pkgrel=0
pkgdesc="RE2-based regex engine for Perl"
url="https://metacpan.org/pod/re::engine::RE2"
@@ -14,9 +14,7 @@ license="(Artistic-1.0 OR GPL-1.0+) AND BSD-3-Clause"
depends="perl"
makedepends="perl-dev perl-extutils-cppguess"
subpackages="$pkgname-doc"
-source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz
- fix-nullptr-retval.patch
- "
+source="https://cpan.metacpan.org/authors/id/$_a/$_au/$_author/$_pkgreal-$pkgver.tar.gz"
builddir="$srcdir/re-engine-RE2-$pkgver"
build() {
@@ -33,5 +31,4 @@ package() {
find "$pkgdir" \( -name perllocal.pod -o -name .packlist \) -delete
}
-sha512sums="8eab9d55185af7e5356e90c9e63495d65f4b4ace6aff3828f7178fab0104bcd8c7f58b52e49e1f24cd394183e9455b11c7a1ad2a13986c1c3ff6e11ebe5c0dbe re-engine-RE2-0.14.tar.gz
-d5e2171796bdeb2ce1fe3e449e62c847546a7d927b972e4ac7d5e3a700419d6db779c0ff20c15f6108a7bca3de13823cdf320e32dbbd1de68c83bc6f1a7ab35d fix-nullptr-retval.patch"
+sha512sums="cb2a904c38603f1441a6ee6d39e7409221cc429d6ace1d1e3bb6342dee1ee6bb04dd92df3f644ff2832ca323884a8adedd106fadbe098a7731ab8f8635aa62da re-engine-RE2-0.17.tar.gz"
diff --git a/user/perl-re-engine-re2/fix-nullptr-retval.patch b/user/perl-re-engine-re2/fix-nullptr-retval.patch
deleted file mode 100644
index 251d8e1ac..000000000
--- a/user/perl-re-engine-re2/fix-nullptr-retval.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -ur a/re2/re2/dfa.cc b/re2/re2/dfa.cc
---- a/re2/re2/dfa.cc 2022-04-22 19:08:28.597201892 +0000
-+++ b/re2/re2/dfa.cc 2022-04-22 19:09:19.608577242 +0000
-@@ -1734,7 +1734,7 @@
- return false;
- }
- if (params.start == DeadState)
-- return NULL;
-+ return false;
- if (params.start == FullMatchState) {
- if (run_forward == want_earliest_match)
- *epp = text.begin();