libdnf/libdnf-0.22.0-rpm5-additional.patch

23 lines
826 B
Diff

diff -ru libdnf-0.11.1.good/libdnf/dnf-keyring.h libdnf-0.11.1/libdnf/dnf-keyring.h
--- libdnf-0.11.1.good/libdnf/dnf-keyring.h 2019-06-01 12:44:55.271022533 +0200
+++ libdnf-0.11.1/libdnf/dnf-keyring.h 2019-06-01 12:45:34.318205068 +0200
@@ -24,6 +24,7 @@
#include <glib.h>
+#include <rpm/rpm46compat.h>
#include <rpm/rpmts.h>
gboolean dnf_keyring_add_public_key (const rpmts ts,
diff -ru libdnf-0.11.1.good/libdnf/dnf-repo.cpp libdnf-0.11.1/libdnf/dnf-repo.cpp
--- libdnf-0.11.1.good/libdnf/dnf-repo.cpp 2019-06-01 12:41:19.347019561 +0200
+++ libdnf-0.11.1/libdnf/dnf-repo.cpp 2019-06-01 12:45:34.318205068 +0200
@@ -39,6 +39,7 @@
#include <glib/gstdio.h>
#include "hy-util.h"
#include <librepo/librepo.h>
+#include <rpm/rpm46compat.h>
#include <rpm/rpmts.h>
#include "dnf-keyring.h"