Hello community, here is the log from the commit of package libdb-4_8 for openSUSE:Factory checked in at 2018-01-16 09:27:31 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libdb-4_8 (Old) and /work/SRC/openSUSE:Factory/.libdb-4_8.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libdb-4_8" Tue Jan 16 09:27:31 2018 rev:27 rq:563073 version:4.8.30 Changes: -------- --- /work/SRC/openSUSE:Factory/libdb-4_8/libdb_java-4_8.changes 2017-10-28 14:18:01.967562787 +0200 +++ /work/SRC/openSUSE:Factory/.libdb-4_8.new/libdb_java-4_8.changes 2018-01-16 09:27:33.323286172 +0100 @@ -1,0 +2,6 @@ +Tue Jan 9 13:26:27 UTC 2018 - [email protected] + +- Added libdb_java-4_8-fix-java10-comp.patch to fix the build with + Java 10 (10-internal) + +------------------------------------------------------------------- New: ---- libdb_java-4_8-fix-java10-comp.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libdb-4_8.spec ++++++ --- /var/tmp/diff_new_pack.I3pDwu/_old 2018-01-16 09:27:34.279241447 +0100 +++ /var/tmp/diff_new_pack.I3pDwu/_new 2018-01-16 09:27:34.283241259 +0100 @@ -1,7 +1,7 @@ # # spec file for package libdb-4_8 # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed ++++++ libdb_java-4_8.spec ++++++ --- /var/tmp/diff_new_pack.I3pDwu/_old 2018-01-16 09:27:34.307240137 +0100 +++ /var/tmp/diff_new_pack.I3pDwu/_new 2018-01-16 09:27:34.307240137 +0100 @@ -1,7 +1,7 @@ # # spec file for package libdb_java-4_8 # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -30,6 +30,8 @@ Source1: %{name}.changes Source9: getpatches Patch0: db-%{version}.patch +# PATCH-FIX-OPENSUSE Fix compilation with Java 10 (10-internal) +Patch1: libdb_java-4_8-fix-java10-comp.patch BuildRequires: autoconf BuildRequires: gcc-c++ BuildRequires: java-sdk >= 1.5 @@ -60,6 +62,7 @@ %prep %setup -q -n %{generic_name}-%{version} %patch0 +%patch1 -p1 %build cd dist ++++++ libdb_java-4_8-fix-java10-comp.patch ++++++ Index: db-4.8.30/dist/configure.ac =================================================================== --- db-4.8.30.orig/dist/configure.ac +++ db-4.8.30/dist/configure.ac @@ -416,7 +416,7 @@ if test "$db_cv_java" = "yes"; then esac AC_MSG_RESULT($JAVA_VERSION) case "$JAVA_VERSION" in - 1.[[3456789]]* | 1.[[1-9]][[0-9]]* | [[23456789]]* ) ;; + 1.[[3456789]]* | 1.[[1-9]][[0-9]]* | [[23456789]]* | 10-* ) ;; * ) AC_MSG_ERROR([Java version 1.3 or higher required, got $JAVA_VERSION]) ;; esac
