Skip to content
Permalink
Browse files

Patch Octave 5.1.0 for java

  • Loading branch information...
zbeekman committed May 14, 2019
1 parent b810f82 commit a8124b73c5216cc81d63627a4b41203ab1d91a4d
Showing with 26 additions and 0 deletions.
  1. +26 −0 octave/5.1.0-java-version.patch
@@ -0,0 +1,26 @@
diff --git i/Makefile.in w/Makefile.in
index 9ea86fa..2e384af 100644
--- i/Makefile.in
+++ w/Makefile.in
@@ -30415,7 +30415,7 @@ src-maintainer-clean: src-distclean
$(scripts_java_JAVA_CLASSES) : %.class : %.java | scripts/java/$(octave_dirstamp)
$(OCT_V_JAVAC)$(MKDIR_P) scripts/java/$(org_octave_dir) && \
( cd $(srcdir)/scripts/java; \
- "$(JAVAC)" -source 1.6 -target 1.6 -Xlint:-options \
+ "$(JAVAC)" -source 1.7 -target 1.7 -Xlint:-options \
-d $(abs_top_builddir)/scripts/java \
$(org_octave_dir)/$(<F) )

diff --git i/scripts/java/module.mk w/scripts/java/module.mk
index 2923049..9af8e94 100644
--- i/scripts/java/module.mk
+++ w/scripts/java/module.mk
@@ -47,7 +47,7 @@ oct__v_JAVAC_1 =
$(%canon_reldir%_JAVA_CLASSES) : %.class : %.java | %reldir%/$(octave_dirstamp)
$(OCT_V_JAVAC)$(MKDIR_P) %reldir%/$(org_octave_dir) && \
( cd $(srcdir)/scripts/java; \
- "$(JAVAC)" -source 1.6 -target 1.6 -Xlint:-options \
+ "$(JAVAC)" -source 1.7 -target 1.7 -Xlint:-options \
-d $(abs_top_builddir)/scripts/java \
$(org_octave_dir)/$(<F) )

2 comments on commit a8124b7

@zbeekman

This comment has been minimized.

Copy link
Member Author

replied May 14, 2019

Fix for Homebrew/homebrew-core#39848. Still need to report/submit upstream.

@zbeekman

This comment has been minimized.

Copy link
Member Author

replied May 14, 2019

Please sign in to comment.
You can’t perform that action at this time.