summaryrefslogtreecommitdiffhomepage
path: root/patches
diff options
context:
space:
mode:
Diffstat (limited to 'patches')
-rw-r--r--patches/rpm-4.16.0.local.patch35
-rw-r--r--patches/rpm-4.17.0.local.patch12
2 files changed, 12 insertions, 35 deletions
diff --git a/patches/rpm-4.16.0.local.patch b/patches/rpm-4.16.0.local.patch
deleted file mode 100644
index 9a3382e5..00000000
--- a/patches/rpm-4.16.0.local.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-diff -ru rpm-4.15.1.orig/lib/rpmchroot.c rpm-4.15.1/lib/rpmchroot.c
---- rpm-4.15.1.orig/lib/rpmchroot.c 2019-11-13 10:19:29.309710594 +0100
-+++ rpm-4.15.1/lib/rpmchroot.c 2020-01-04 18:36:56.323408444 +0100
-@@ -66,7 +66,7 @@
- setup_map("/proc/self/gid_map", 0, gid);
- unshared = 1;
- }
-- rpmlog(RPMLOG_DEBUG, "user ns: %d original user %d:%d current %d:%d\n",
-+ rpmlog(RPMLOG_DEBUG, "user ns: %d original user %ld:%ld current %ld:%ld\n",
- unshared, uid, gid, getuid(), getgid());
- }
- #else
-diff -ru rpm-4.15.1.orig/macros.in rpm-4.15.1/macros.in
---- rpm-4.15.1.orig/macros.in 2019-11-13 10:19:29.311710606 +0100
-+++ rpm-4.15.1/macros.in 2020-01-04 18:41:36.981113433 +0100
-@@ -619,7 +619,7 @@
- # lmdb Lightning Memory-mapped Database
- # ndb new data base format
- #
--%_db_backend bdb
-+%_db_backend ndb
-
- #
- # Macros used to configure Berkley db parameters.
-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>
diff --git a/patches/rpm-4.17.0.local.patch b/patches/rpm-4.17.0.local.patch
new file mode 100644
index 00000000..c76bf77c
--- /dev/null
+++ b/patches/rpm-4.17.0.local.patch
@@ -0,0 +1,12 @@
+diff -ru rpm-4.15.1.orig/lib/rpmchroot.c rpm-4.15.1/lib/rpmchroot.c
+--- rpm-4.15.1.orig/lib/rpmchroot.c 2019-11-13 10:19:29.309710594 +0100
++++ rpm-4.15.1/lib/rpmchroot.c 2020-01-04 18:36:56.323408444 +0100
+@@ -66,7 +66,7 @@
+ setup_map("/proc/self/gid_map", 0, gid);
+ unshared = 1;
+ }
+- rpmlog(RPMLOG_DEBUG, "user ns: %d original user %d:%d current %d:%d\n",
++ rpmlog(RPMLOG_DEBUG, "user ns: %d original user %ld:%ld current %ld:%ld\n",
+ unshared, uid, gid, getuid(), getgid());
+ }
+ #else