summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-i18n')
-rw-r--r--app-i18n/nkf/files/nkf-2.1.4-test.patch11
-rw-r--r--app-i18n/nkf/nkf-2.1.4.ebuild2
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
}