diff options
author | Akinori Hattori <hattya@gentoo.org> | 2017-12-10 21:32:06 +0900 |
---|---|---|
committer | Akinori Hattori <hattya@gentoo.org> | 2017-12-10 21:40:18 +0900 |
commit | 090032eb3ccba85d2513657241ca121e32f40d16 (patch) | |
tree | a8465576561038181f98e909f97193e7e7ca2f54 /app-text | |
parent | app-text/namazu: fix tests with >=dev-lang/perl-5.18 (diff) | |
download | gentoo-090032eb3ccba85d2513657241ca121e32f40d16.tar.gz gentoo-090032eb3ccba85d2513657241ca121e32f40d16.tar.bz2 gentoo-090032eb3ccba85d2513657241ca121e32f40d16.zip |
app-text/namazu: fix tests with >=dev-lang/perl-5.26
Closes: https://bugs.gentoo.org/623224
Package-Manager: Portage-2.3.13, Repoman-2.3.4
Diffstat (limited to 'app-text')
-rw-r--r-- | app-text/namazu/files/namazu-perl-5.26.patch | 22 | ||||
-rw-r--r-- | app-text/namazu/namazu-2.0.21.ebuild | 1 |
2 files changed, 23 insertions, 0 deletions
diff --git a/app-text/namazu/files/namazu-perl-5.26.patch b/app-text/namazu/files/namazu-perl-5.26.patch new file mode 100644 index 000000000000..1b3a4e40bd10 --- /dev/null +++ b/app-text/namazu/files/namazu-perl-5.26.patch @@ -0,0 +1,22 @@ +--- a/filter/hnf.pl ++++ b/filter/hnf.pl +@@ -244,7 +244,7 @@ + $uri = '?%year%month%hiday#%year%month%day0'; # for hns-1.x + } + $uri =~ s/%%/\34/g; +- $uri =~ s/%{?([a-z]+)}?/$param{$1}/g; ++ $uri =~ s/%\{?([a-z]+)}?/$param{$1}/g; + $uri =~ s/\34/%/g; + $uri = $hnf::diary_uri . $uri; + $uri =~ s/%7E/~/i; +--- a/filter/mp3.pl ++++ b/filter/mp3.pl +@@ -152,7 +152,7 @@ + mp3::get_title($$contref, $weighted_str, $fields); + mp3::get_author($$contref, $fields); + mp3::get_album($$contref, $fields); +- $$contref =~ s/^\w+:{1,1}?//gm; ++ $$contref =~ s/^\w+:?//gm; + + return; + } diff --git a/app-text/namazu/namazu-2.0.21.ebuild b/app-text/namazu/namazu-2.0.21.ebuild index 9891e7f58bde..92d9023d9ae1 100644 --- a/app-text/namazu/namazu-2.0.21.ebuild +++ b/app-text/namazu/namazu-2.0.21.ebuild @@ -36,6 +36,7 @@ DEPEND="${RDEPEND} PATCHES=( "${FILESDIR}"/${PN}-gentoo.patch "${FILESDIR}"/${PN}-perl-5.18.patch + "${FILESDIR}"/${PN}-perl-5.26.patch "${FILESDIR}"/${P}-memmove.patch ) |