1 |
commit: 090032eb3ccba85d2513657241ca121e32f40d16 |
2 |
Author: Akinori Hattori <hattya <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Dec 10 12:32:06 2017 +0000 |
4 |
Commit: Akinori Hattori <hattya <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Dec 10 12:40:18 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=090032eb |
7 |
|
8 |
app-text/namazu: fix tests with >=dev-lang/perl-5.26 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/623224 |
11 |
Package-Manager: Portage-2.3.13, Repoman-2.3.4 |
12 |
|
13 |
app-text/namazu/files/namazu-perl-5.26.patch | 22 ++++++++++++++++++++++ |
14 |
app-text/namazu/namazu-2.0.21.ebuild | 1 + |
15 |
2 files changed, 23 insertions(+) |
16 |
|
17 |
diff --git a/app-text/namazu/files/namazu-perl-5.26.patch b/app-text/namazu/files/namazu-perl-5.26.patch |
18 |
new file mode 100644 |
19 |
index 00000000000..1b3a4e40bd1 |
20 |
--- /dev/null |
21 |
+++ b/app-text/namazu/files/namazu-perl-5.26.patch |
22 |
@@ -0,0 +1,22 @@ |
23 |
+--- a/filter/hnf.pl |
24 |
++++ b/filter/hnf.pl |
25 |
+@@ -244,7 +244,7 @@ |
26 |
+ $uri = '?%year%month%hiday#%year%month%day0'; # for hns-1.x |
27 |
+ } |
28 |
+ $uri =~ s/%%/\34/g; |
29 |
+- $uri =~ s/%{?([a-z]+)}?/$param{$1}/g; |
30 |
++ $uri =~ s/%\{?([a-z]+)}?/$param{$1}/g; |
31 |
+ $uri =~ s/\34/%/g; |
32 |
+ $uri = $hnf::diary_uri . $uri; |
33 |
+ $uri =~ s/%7E/~/i; |
34 |
+--- a/filter/mp3.pl |
35 |
++++ b/filter/mp3.pl |
36 |
+@@ -152,7 +152,7 @@ |
37 |
+ mp3::get_title($$contref, $weighted_str, $fields); |
38 |
+ mp3::get_author($$contref, $fields); |
39 |
+ mp3::get_album($$contref, $fields); |
40 |
+- $$contref =~ s/^\w+:{1,1}?//gm; |
41 |
++ $$contref =~ s/^\w+:?//gm; |
42 |
+ |
43 |
+ return; |
44 |
+ } |
45 |
|
46 |
diff --git a/app-text/namazu/namazu-2.0.21.ebuild b/app-text/namazu/namazu-2.0.21.ebuild |
47 |
index 9891e7f58bd..92d9023d9ae 100644 |
48 |
--- a/app-text/namazu/namazu-2.0.21.ebuild |
49 |
+++ b/app-text/namazu/namazu-2.0.21.ebuild |
50 |
@@ -36,6 +36,7 @@ DEPEND="${RDEPEND} |
51 |
PATCHES=( |
52 |
"${FILESDIR}"/${PN}-gentoo.patch |
53 |
"${FILESDIR}"/${PN}-perl-5.18.patch |
54 |
+ "${FILESDIR}"/${PN}-perl-5.26.patch |
55 |
"${FILESDIR}"/${P}-memmove.patch |
56 |
) |