summaryrefslogtreecommitdiff
path: root/app-i18n/nkf/files/nkf-python.patch
diff options
context:
space:
mode:
Diffstat (limited to 'app-i18n/nkf/files/nkf-python.patch')
-rw-r--r--app-i18n/nkf/files/nkf-python.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/app-i18n/nkf/files/nkf-python.patch b/app-i18n/nkf/files/nkf-python.patch
new file mode 100644
index 000000000000..6f9e2e687e07
--- /dev/null
+++ b/app-i18n/nkf/files/nkf-python.patch
@@ -0,0 +1,13 @@
+--- a/NKF.python/nkf.c
++++ b/NKF.python/nkf.c
+@@ -78,8 +78,8 @@
+ }
+
+ #define PERL_XS 1
+-#include "nkf-dist/utf8tbl.c"
+-#include "nkf-dist/nkf.c"
++#include "../utf8tbl.c"
++#include "../nkf.c"
+
+ static PyObject *
+ pynkf_convert(unsigned char* str, int strlen, char* opts, int optslen)