summaryrefslogtreecommitdiff
path: root/package/classpath/patches/classpath-fix.patch
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-01-24 18:27:33 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-01-24 18:27:33 +0100
commit148249d08af2ef833175d3f9176c6709798d4a14 (patch)
treedc39146d700ae5a224c45885719a2bc8934bd7eb /package/classpath/patches/classpath-fix.patch
parent18a6922a938023cb061b7cd9895412549cb17288 (diff)
parent826fae84981bf030b6bb9d20117a1a1634ba3334 (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