diff options
Diffstat (limited to 'dev-java/mg4j/files/mg4j-build.patch')
-rw-r--r-- | dev-java/mg4j/files/mg4j-build.patch | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/dev-java/mg4j/files/mg4j-build.patch b/dev-java/mg4j/files/mg4j-build.patch new file mode 100644 index 00000000000..eef1c4878cb --- /dev/null +++ b/dev-java/mg4j/files/mg4j-build.patch @@ -0,0 +1,56 @@ +diff -uprN mg4j-0.9.orig/build.xml mg4j-0.9/build.xml +--- mg4j-0.9.orig/build.xml 2004-09-01 12:04:18.000000000 +0200 ++++ mg4j-0.9/build.xml 2004-11-17 00:30:41.879119728 +0100 +@@ -39,25 +39,34 @@ + includes="it/unimi/dsi/mg4j/query/parser/**" + nowarn="on" + debug="on" +- optimize="on" ++ optimize="on" + destdir="${build}" +- source="1.4" +- /> ++ source="1.4" ++ target="1.4"> ++ ++ <classpath> ++ <pathelement path="lib/jal.jar;lib/fastutil.jar;lib/gnu.getopt.jar;lib/libreadline-java.jar;lib/colt.jar" /> ++ </classpath> ++ </javac> + </target> + + <target name="compile" depends="init,compile-parser"> + <javac srcdir="${src}" + debug="on" +- optimize="on" ++ optimize="on" + destdir="${build}" +- source="1.4" +- /> ++ source="1.4" ++ target="1.4"> ++ ++ <classpath> ++ <pathelement path="lib/jal.jar;lib/fastutil.jar;lib/gnu.getopt.jar;lib/libreadline-java.jar;lib/colt.jar" /> ++ </classpath> ++ </javac> + </target> + + <target name="jar" depends="compile"> + <jar jarfile="mg4j-${version}.jar" +- basedir="${build}" +- /> ++ basedir="${build}" /> + </target> + + +@@ -69,8 +78,7 @@ + sourcepath="${src}" + private="off" + source="1.4" +- windowtitle="MG4J ${version}" +- > ++ windowtitle="MG4J ${version}"> + <link href="${j2se.apiurl}"/> + <link href="${fastutil.apiurl}"/> + <link href="${colt.apiurl}"/> |