]> git.pld-linux.org Git - packages/pdflib-lite.git/commitdiff
- bump java source version compatibility
authorJan Rękorajski <baggins@pld-linux.org>
Tue, 1 Mar 2022 12:23:22 +0000 (13:23 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Tue, 1 Mar 2022 12:23:22 +0000 (13:23 +0100)
java-compat.patch [new file with mode: 0644]
pdflib-lite.spec

diff --git a/java-compat.patch b/java-compat.patch
new file mode 100644 (file)
index 0000000..07d686a
--- /dev/null
@@ -0,0 +1,11 @@
+--- PDFlib-Lite-7.0.5p3/configure.in~  2022-03-01 13:16:14.000000000 +0100
++++ PDFlib-Lite-7.0.5p3/configure.in   2022-03-01 13:21:08.180134353 +0100
+@@ -165,7 +165,7 @@
+ WITH_LARGE_FILES=no
+ WITH_64BIT=no
+ WITH_UNIVERSAL=no
+-JAVA_COMPATIBILITY="-source 1.4"
++JAVA_COMPATIBILITY="-source 1.6"
+ case $ac_sys_system in
+     dnl TODO: check if this is still true
index 1bd1b27bd4b40b9d12a189ccd41280dd96518e79..1c070589e8027685ef453e7595fba8e5dc801bd5 100644 (file)
@@ -32,6 +32,7 @@ Patch4:               %{name}-python.patch
 Patch5:                %{name}-libtool.patch
 Patch6:                %{name}-system-libs.patch
 Patch7:                %{name}-shared.patch
+Patch8:                java-compat.patch
 URL:           https://www.pdflib.com/
 BuildRequires: autoconf
 BuildRequires: automake
@@ -224,6 +225,7 @@ Wiązania Tcl-a do biblioteki PDFlib Lite.
 %patch5 -p1
 %patch6 -p1
 %patch7 -p1
+%patch8 -p1
 
 %{?with_system_zlib:%{__rm} -r libs/flate}
 %{?with_system_zlib:%{__sed} -i -e '/\/flate\// d' libs/pdflib/Make_objs2.inc}
This page took 0.111144 seconds and 4 git commands to generate.