From 2960055afbb680fb7ccc0b022f79a367b1cd488c Mon Sep 17 00:00:00 2001 From: Petr Kubat Date: Wed, 5 Sep 2018 13:16:36 +0200 Subject: [PATCH] Add patch for CDB race issue Related: #1099509 --- libdb.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/libdb.spec b/libdb.spec index e57f497..fdb4ff8 100644 --- a/libdb.spec +++ b/libdb.spec @@ -4,7 +4,7 @@ Summary: The Berkeley DB database library for C Name: libdb Version: 5.3.28 -Release: 33%{?dist} +Release: 34%{?dist} Source0: http://download.oracle.com/berkeley-db/db-%{version}.tar.gz Source1: http://download.oracle.com/berkeley-db/db.1.85.tar.gz # For mt19937db.c @@ -46,6 +46,9 @@ Patch34: libdb-5.3.21-region-size-check.patch # Patch sent upstream Patch35: checkpoint-opd-deadlock.patch Patch36: db-5.3.28-atomic_compare_exchange.patch +# CDB race (rhbz #1099509) +Patch37: libdb-cbd-race.patch + URL: http://www.oracle.com/database/berkeley-db/ License: BSD and LGPLv2 and Sleepycat @@ -246,6 +249,7 @@ popd %patch34 -p1 %patch35 -p1 %patch36 -p1 +%patch37 -p1 cd dist ./s_config @@ -441,6 +445,9 @@ mv man/* ${RPM_BUILD_ROOT}%{_mandir}/man1 %{_libdir}/libdb_java.so %changelog +* Wed Sep 05 2018 Petr Kubat - 5.3.28-34 +- Add patch for CDB race issue (#1099509) + * Tue Jul 24 2018 Petr Kubat - 5.3.28-33 - Add BuildRequires for gcc and gcc-c++ (#1604566)