File: 001.1-default-java-version.patch

package info (click to toggle)
geotranz 3.7-6
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 242,380 kB
  • sloc: cpp: 37,618; java: 13,594; javascript: 3,068; makefile: 955; xml: 67; sh: 38; csh: 21
file content (16 lines) | stat: -rw-r--r-- 668 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: adjust Java version to 1.6
 see http://lintian.debian.org/tags/incompatible-java-bytecode-format.html
Author: Hideki Yamane <henrich@debian.org>

Index: geotranz-3.3/GEOTRANS3/java_gui/Makefile
===================================================================
--- geotranz-3.3.orig/GEOTRANS3/java_gui/Makefile	2014-01-01 18:36:06.734047662 +0100
+++ geotranz-3.3/GEOTRANS3/java_gui/Makefile	2014-01-01 23:26:27.799030875 +0100
@@ -1,6 +1,6 @@
 SRC = geotrans3
 ICONS = $(SRC)/gui/icons
-JAVAC = /usr/lib/jvm/default-java/bin/javac
+JAVAC = /usr/lib/jvm/default-java/bin/javac -source $$JAVA_COMPAT_LEVEL -target $$JAVA_COMPAT_LEVEL
 
 all: MSPCCS.jar