diff options
author | 2022-01-29 01:55:55 +0000 | |
---|---|---|
committer | 2022-01-29 03:56:06 +0000 | |
commit | 55db7510378cf4cce746af22f057969256ecc512 (patch) | |
tree | 0fef21892d9eb53754833724cff7ec992d647c59 /app-text/trang/files | |
parent | dev-vcs/rcs: drop 5.9.3, 5.9.4 (diff) | |
download | gentoo-55db7510378cf4cce746af22f057969256ecc512.tar.gz gentoo-55db7510378cf4cce746af22f057969256ecc512.tar.bz2 gentoo-55db7510378cf4cce746af22f057969256ecc512.zip |
app-text/trang: add 20181222
Bug: https://bugs.gentoo.org/826398
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-text/trang/files')
-rw-r--r-- | app-text/trang/files/trang-20181222-build-fixes.patch | 31 | ||||
-rw-r--r-- | app-text/trang/files/trang-20181222-unicode-data-path.patch | 15 |
2 files changed, 46 insertions, 0 deletions
diff --git a/app-text/trang/files/trang-20181222-build-fixes.patch b/app-text/trang/files/trang-20181222-build-fixes.patch new file mode 100644 index 000000000000..ef7118c650a1 --- /dev/null +++ b/app-text/trang/files/trang-20181222-build-fixes.patch @@ -0,0 +1,31 @@ +https://sources.debian.org/patches/jing-trang/20181222+dfsg2-6/javacc.dir/ + +Description: update local Java path +--- a/build.xml ++++ b/build.xml +@@ -1,6 +1,6 @@ + <project name="jing-trang" default="jar"> + +-<property name="lib.dir" value="lib"/> ++<property name="lib.dir" value="/usr/share/java"/> + <property name="build.dir" value="${basedir}/build"/> + <property name="doc.dir" value="${basedir}/doc"/> + +--- a/build.xsl ++++ b/build.xsl +@@ -23,15 +23,6 @@ + <target name="dummy"/> + <target name="init"> + <mkdir dir="{$build}"/> +- <exec executable="git"> +- <arg value="submodule"/> +- <arg value="update"/> +- <arg value="--init"/> +- <arg value="--recursive"/> +- </exec> +- <copy todir="{$doc}"> +- <fileset dir="relaxng.org/jclark" includes="**"/> +- </copy> + </target> + <xsl:for-each select="modules/module"> + <xsl:apply-templates select="document(concat('mod/', .,'/mod.xml'), .)/module"> 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"/> |