diff options
author | Akinori Hattori <hattya@gentoo.org> | 2020-05-16 23:44:35 +0900 |
---|---|---|
committer | Akinori Hattori <hattya@gentoo.org> | 2020-05-16 23:47:47 +0900 |
commit | c6c893cd975f79848ccbfe7c78a46d48db86ad86 (patch) | |
tree | caecf2e4ca6a3a910c14e4846acedd224ded34a5 /app-i18n | |
parent | app-i18n/nkf: rename patch (diff) | |
download | gentoo-c6c893cd975f79848ccbfe7c78a46d48db86ad86.tar.gz gentoo-c6c893cd975f79848ccbfe7c78a46d48db86ad86.tar.bz2 gentoo-c6c893cd975f79848ccbfe7c78a46d48db86ad86.zip |
app-i18n/nkf: fix tests
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Akinori Hattori <hattya@gentoo.org>
Diffstat (limited to 'app-i18n')
-rw-r--r-- | app-i18n/nkf/files/nkf-2.1.4-test.patch | 11 | ||||
-rw-r--r-- | app-i18n/nkf/nkf-2.1.4.ebuild | 2 |
2 files changed, 13 insertions, 0 deletions
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 } |