Add patch for CDB race issue

Related: #1099509
This commit is contained in:
Petr Kubat 2018-09-05 13:16:36 +02:00
parent 5e6566947e
commit 2960055afb

View File

@ -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 <pkubat@redhat.com> - 5.3.28-34
- Add patch for CDB race issue (#1099509)
* Tue Jul 24 2018 Petr Kubat <pkubat@redhat.com> - 5.3.28-33
- Add BuildRequires for gcc and gcc-c++ (#1604566)