[packages/pdflib-lite] - bump java source version compatibility
baggins
baggins at pld-linux.org
Tue Mar 1 13:23:41 CET 2022
commit ada803e91f870cc7126c4dab5d0711fac5ddb9bd
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Tue Mar 1 13:23:22 2022 +0100
- bump java source version compatibility
java-compat.patch | 11 +++++++++++
pdflib-lite.spec | 2 ++
2 files changed, 13 insertions(+)
---
diff --git a/pdflib-lite.spec b/pdflib-lite.spec
index 1bd1b27..1c07058 100644
--- a/pdflib-lite.spec
+++ b/pdflib-lite.spec
@@ -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}
diff --git a/java-compat.patch b/java-compat.patch
new file mode 100644
index 0000000..07d686a
--- /dev/null
+++ b/java-compat.patch
@@ -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
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/pdflib-lite.git/commitdiff/ada803e91f870cc7126c4dab5d0711fac5ddb9bd
More information about the pld-cvs-commit
mailing list