summaryrefslogtreecommitdiff
path: root/package/classpath/patches/classpath-fix.patch
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-01-29 09:06:27 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-01-29 09:06:27 +0100
commit40fcb885d64153d3196f8a6ad8ca9a679b4a61b5 (patch)
treec65da15b51c5fcf5dd5e5f2c038fa57455b03a21 /package/classpath/patches/classpath-fix.patch
parentede0b881160024db41b69198207a3e9905eea6c9 (diff)
parent50dc4372e21202d2e285bd295ec18c759b66c4d9 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/classpath/patches/classpath-fix.patch')
-rw-r--r--package/classpath/patches/classpath-fix.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/classpath/patches/classpath-fix.patch b/package/classpath/patches/classpath-fix.patch
new file mode 100644
index 000000000..e03eb2342
--- /dev/null
+++ b/package/classpath/patches/classpath-fix.patch
@@ -0,0 +1,12 @@
+diff -Nur classpath-0.98.orig//lib/Makefile.in classpath-0.98/lib/Makefile.in
+--- classpath-0.98.orig//lib/Makefile.in 2009-02-06 02:01:32.000000000 +0100
++++ classpath-0.98/lib/Makefile.in 2011-08-05 22:55:25.965284504 +0200
+@@ -272,7 +272,7 @@
+ uudecode = @uudecode@
+ vm_classes = @vm_classes@
+ JAVA_DEPEND = java.dep
+-compile_classpath = $(vm_classes):$(top_srcdir):$(top_srcdir)/external/w3c_dom:$(top_srcdir)/external/sax:$(top_srcdir)/external/relaxngDatatype:$(top_srcdir)/external/jsr166:.:$(PATH_TO_GLIBJ_ZIP):$(PATH_TO_ESCHER)
++compile_classpath = $(vm_classes) -cp $(top_srcdir) -cp $(top_srcdir)/external/w3c_dom -cp $(top_srcdir)/external/sax -cp $(top_srcdir)/external/relaxngDatatype -cp $(top_srcdir)/external/jsr166 -cp . -cp $(PATH_TO_GLIBJ_ZIP) -cp $(PATH_TO_ESCHER)
+ @GCJ_JAVAC_FALSE@JCOMPILER = $(JAVAC) $(JAVACFLAGS) $(JAVAC_MEM_OPT) -source 1.5 -target 1.5 -bootclasspath '' -classpath $(compile_classpath) -d . @classes
+
+ # handling source to bytecode compiler programs like gcj, jikes and kjc