summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/trang/files/trang-20181222-unicode-data-path.patch')
-rw-r--r--app-text/trang/files/trang-20181222-unicode-data-path.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/app-text/trang/files/trang-20181222-unicode-data-path.patch b/app-text/trang/files/trang-20181222-unicode-data-path.patch
new file mode 100644
index 000000000000..e1aaf5452f47
--- /dev/null
+++ b/app-text/trang/files/trang-20181222-unicode-data-path.patch
@@ -0,0 +1,15 @@
+Adapted from Debian.
+https://sources.debian.org/patches/jing-trang/20181222+dfsg2-6/unicode.patch/
+
+Description: update unicode path
+--- a/mod/regex/mod.xml
++++ b/mod/regex/mod.xml
+@@ -46,7 +46,7 @@
+ failonerror="yes">
+ <arg value="com.thaiopensource.datatype.xsd.regex.java.Categories"/>
+ <arg value="${build.dir}/mod/regex/gensrc/main"/>
+- <arg value="${lib.dir}/UnicodeData-3.1.0.txt"/>
++ <arg value="@GENTOO_PORTAGE_EPREFIX@/usr/share/unicode-data/UnicodeData.txt"/>
+ <classpath>
+ <pathelement location="${build.dir}/mod/regex-gen/classes/main"/>
+ <pathelement location="${build.dir}/mod/util/classes/main"/>