summaryrefslogtreecommitdiffhomepage
path: root/patches
diff options
context:
space:
mode:
Diffstat (limited to 'patches')
-rw-r--r--patches/rpm-4.15.1_pre.local.patch12
-rw-r--r--patches/rpm-4.16.0.local.patch (renamed from patches/rpm-4.15.1.local.patch)24
2 files changed, 11 insertions, 25 deletions
diff --git a/patches/rpm-4.15.1_pre.local.patch b/patches/rpm-4.15.1_pre.local.patch
deleted file mode 100644
index 95d8d4ce..00000000
--- a/patches/rpm-4.15.1_pre.local.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -ru rpm-4.15.1.orig/configure rpm-4.15.1/configure
---- rpm-4.15.1.orig/configure 2019-11-13 10:29:18.226316044 +0100
-+++ rpm-4.15.1/configure 2020-01-04 18:33:46.211414396 +0100
-@@ -22112,7 +22112,7 @@
- enable_bdb=yes
- fi
-
--
-+have_bdb="no"
- if test "x$enable_bdb" != "xno"; then :
-
- if test -x db/dist/configure ; then
diff --git a/patches/rpm-4.15.1.local.patch b/patches/rpm-4.16.0.local.patch
index f1646034..9a3382e5 100644
--- a/patches/rpm-4.15.1.local.patch
+++ b/patches/rpm-4.16.0.local.patch
@@ -22,16 +22,14 @@ diff -ru rpm-4.15.1.orig/macros.in rpm-4.15.1/macros.in
#
# Macros used to configure Berkley db parameters.
-diff --git a/rpmio/digest_libgcrypt.c b/rpmio/digest_libgcrypt.c
-index b31fda569..291187f60 100644
---- a/rpmio/digest_libgcrypt.c
-+++ b/rpmio/digest_libgcrypt.c
-@@ -20,6 +20,8 @@ struct DIGEST_CTX_s {
- /**************************** init ************************************/
-
- int rpmInitCrypto(void) {
-+ gcry_check_version (NULL);
-+ gcry_control (GCRYCTL_INITIALIZATION_FINISHED, 0);
- return 0;
- }
-
+diff -ru rpm-4.16.0.orig/lib/rpmdb.c rpm-4.16.0/lib/rpmdb.c
+--- rpm-4.16.0.orig/lib/rpmdb.c 2020-05-28 12:04:25.037136686 +0200
++++ rpm-4.16.0/lib/rpmdb.c 2020-10-01 19:31:18.944641154 +0200
+@@ -8,6 +8,7 @@
+ #include <utime.h>
+ #include <errno.h>
+ #include <dirent.h>
++#include <fcntl.h>
+
+ #ifndef DYING /* XXX already in "system.h" */
+ #include <fnmatch.h>