tightvnc-java (1.2.7-8) Makefile

Summary

 Makefile |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

    
download this patch

Patch contents

--- tightvnc-java-1.2.7.orig/Makefile
+++ tightvnc-java-1.2.7/Makefile
@@ -22,10 +22,12 @@
 	  SocketFactory.java HTTPConnectSocketFactory.java \
 	  HTTPConnectSocket.java ReloginPanel.java
 
+OPTS = -source 1.3
+
 all: $(CLASSES) $(ARCHIVE)
 
 $(CLASSES): $(SOURCES)
-	$(JC) -O $(SOURCES)
+	$(JC) -target 1.1 $(OPTS) -O $(SOURCES)
 
 $(ARCHIVE): $(CLASSES) $(MANIFEST)
 	$(JAR) cfm $(ARCHIVE) $(MANIFEST) $(CLASSES)