From: Akinori Hattori Date: Sat, 16 May 2020 14:44:35 +0000 (+0900) Subject: app-i18n/nkf: fix tests X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c6c893cd975f79848ccbfe7c78a46d48db86ad86;p=gentoo.git app-i18n/nkf: fix tests Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Akinori Hattori --- 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 }