From c6c893cd975f79848ccbfe7c78a46d48db86ad86 Mon Sep 17 00:00:00 2001 From: Akinori Hattori Date: Sat, 16 May 2020 23:44:35 +0900 Subject: [PATCH] app-i18n/nkf: fix tests Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Akinori Hattori --- app-i18n/nkf/files/nkf-2.1.4-test.patch | 11 +++++++++++ app-i18n/nkf/nkf-2.1.4.ebuild | 2 ++ 2 files changed, 13 insertions(+) create mode 100644 app-i18n/nkf/files/nkf-2.1.4-test.patch diff --git a/app-i18n/nkf/files/nkf-2.1.4-test.patch b/app-i18n/nkf/files/nkf-2.1.4-test.patch new file mode 100644 index 000000000000..26964ef4d64b --- /dev/null +++ b/app-i18n/nkf/files/nkf-2.1.4-test.patch @@ -0,0 +1,11 @@ +--- a/test.pl ++++ b/test.pl +@@ -120,7 +120,7 @@ + return; + } + +-do "nkf_test.pl"; ++do "./nkf_test.pl"; + unlink "nkf.in"; + unlink "nkf.out"; + diff --git a/app-i18n/nkf/nkf-2.1.4.ebuild b/app-i18n/nkf/nkf-2.1.4.ebuild index 4810641db1b6..98564b76343b 100644 --- a/app-i18n/nkf/nkf-2.1.4.ebuild +++ b/app-i18n/nkf/nkf-2.1.4.ebuild @@ -30,6 +30,8 @@ RDEPEND="python? ( )" DEPEND="${RDEPEND}" +PATCHES=( "${FILESDIR}"/${P}-test.patch ) + src_unpack() { use python && vcs-snapshot_src_unpack || default } -- 2.26.2