File: Remove-source-and-target-version-1.5-requirement.patch

package info (click to toggle)
jcdf 1.2.4%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 568 kB
  • sloc: java: 5,318; makefile: 198; sh: 98
file content (21 lines) | stat: -rw-r--r-- 620 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: Ole Streicher <olebole@debian.org>
Date: Tue, 21 Dec 2021 13:44:57 +0100
Subject: Remove source and target version (1.5) requirement

---
 makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/makefile b/makefile
index 7d23479..1ee3b8f 100644
--- a/makefile
+++ b/makefile
@@ -211,7 +211,7 @@ clean:
 $(JARFILE): $(JSRC)
 	rm -rf tmp
 	mkdir -p tmp
-	$(JAVAC) -Xlint:unchecked -source 1.5 -target 1.5 -d tmp $(JSRC) \
+	$(JAVAC) -Xlint:unchecked -d tmp $(JSRC) \
             && echo "$(VERSION)" >tmp/uk/ac/bristol/star/cdf/jcdf.version \
             && $(JAR) cf $@ -C tmp .
 	rm -rf tmp