summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/trang/files/trang-20181222-build-fixes.patch')
-rw-r--r--app-text/trang/files/trang-20181222-build-fixes.patch31
1 files changed, 31 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">