realvnc-java-client: switch to Java 8
[unleashed-userland.git] / components / desktop / realvnc-java-client / patches / realvnc-java-client-01-makefile.patch
blob351b9189992ad1afe632914f49dca942d3c7867f
1 --- vnc-4_1-javasrc.orig/java/makefile 2007-07-09 18:51:21.719429000 +0800
2 +++ vnc-4_1-javasrc/java/makefile 2007-07-21 00:09:07.286607000 +0800
3 @@ -2,7 +2,7 @@
4 # probably won't work for you!
7 -JAVAC = jikes -classpath .:$$CLASSPATH
8 +JAVAC = javac -target 1.8 -classpath .:$$CLASSPATH
9 JAR = jar
10 INSTALL_DIR = ../unix/java
11 SRCS = $(shell find . -name '*.java' -print 2>/dev/null)
12 @@ -12,7 +12,7 @@
13 vncviewer.jar: $(SRCS)
14 $(RM) `find . -name '*.class' -print`
15 $(JAVAC) -d . $^
16 - $(JAR) cmf manifest $@ `find . -name '*.class' -print`
17 + $(JAR) cmf manifest $@ `find . -name '*.class' -print` README
19 clean::
20 $(RM) `find . -name '*.class' -print`