commit 312f2978c2ac216464c3226a936fd7573b747715
Author: Arkadiusz Miƛkiewicz <[email protected]>
Date:   Fri Feb 3 08:09:19 2023 +0100

    - target for newer java variant

 build.patch | 11 +++++++++++
 pl.spec     |  2 ++
 2 files changed, 13 insertions(+)
---
diff --git a/pl.spec b/pl.spec
index 1bec67c..0ce8e9f 100644
--- a/pl.spec
+++ b/pl.spec
@@ -30,6 +30,7 @@ Patch0:               %{name}-clib-configure.patch
 Patch1:                %{name}-xpce-install.patch
 Patch2:                %{name}-format.patch
 Patch3:                %{name}-jni.patch
+Patch4:         build.patch
 URL:           http://www.swi-prolog.org/
 BuildRequires: autoconf >= 2.50
 BuildRequires: automake
@@ -154,6 +155,7 @@ Prolog.
 %patch1 -p1
 %patch2 -p1
 %patch3 -p1
+%patch4 -p1
 
 %{__mv} src/Tests/core/test_d_break.pl{,disabled}
 
diff --git a/build.patch b/build.patch
new file mode 100644
index 0000000..ea2351a
--- /dev/null
+++ b/build.patch
@@ -0,0 +1,11 @@
+--- swipl-7.2.3/packages/jpl/configure.in~     2015-06-18 13:26:49.000000000 
+0200
++++ swipl-7.2.3/packages/jpl/configure.in      2023-02-03 08:02:18.019832229 
+0100
+@@ -58,7 +58,7 @@ dnl ====================================
+ AC_CANONICAL_HOST                     dnl needed to get $host_os
+ 
+ if test "x$JAVACFLAGS" = x; then
+-  JAVACFLAGS="-target 5 -source 5"
++  JAVACFLAGS="-target 6 -source 6"
+ fi
+ 
+ m4_include([ac/ac_prog_java.m4])
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/pl.git/commitdiff/312f2978c2ac216464c3226a936fd7573b747715

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to