summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/jmupdf/files/jmupdf-0.4.1-build-xml.patch')
-rw-r--r--app-text/jmupdf/files/jmupdf-0.4.1-build-xml.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/app-text/jmupdf/files/jmupdf-0.4.1-build-xml.patch b/app-text/jmupdf/files/jmupdf-0.4.1-build-xml.patch
new file mode 100644
index 000000000000..3eb6a12c5f71
--- /dev/null
+++ b/app-text/jmupdf/files/jmupdf-0.4.1-build-xml.patch
@@ -0,0 +1,27 @@
+--- jmupdf-0.4.1/jmupdf/build.xml
++++ jmupdf-0.4.1/jmupdf/build.xml
+@@ -1,7 +1,7 @@
+ <?xml version="1.0" encoding="UTF-8"?>
+ <project name="jmupdf" default="jmupdf" basedir=".">
+
+- <property name="source.dir" value="${basedir}/bin"/>
++ <property name="source.dir" value="${basedir}/src"/>
+ <property name="target.dir" value="${basedir}"/>
+ <property name="build.dir" value="${basedir}/build"/>
+
+@@ -11,9 +11,12 @@
+
+ <mkdir dir="${build.dir}"/>
+
+- <copy todir="${build.dir}">
+- <fileset dir="${source.dir}" includes="**/*"/>
+- </copy>
++ <javac srcdir="${source.dir}"
++ includeantruntime="false"
++ destdir="${build.dir}"
++ debug="on"
++ source="1.5"
++ />
+
+ <jar destfile="${build.dir}/jmupdf.jar">
+ <manifest>