29afe98686
Add all patches since 5.1.20 was released.
34 lines
742 B
Diff
34 lines
742 B
Diff
From c97b3917068597a0e68e88d9a905da766ade40da Mon Sep 17 00:00:00 2001
|
|
From: Pino Toscano <ptoscano@redhat.com>
|
|
Date: Fri, 24 May 2019 13:31:07 +0200
|
|
Subject: [PATCH 10/12] rpm: provide a dummy supermin_rpm_get_arch
|
|
implementation
|
|
|
|
Make sure supermin builds fine also without the RPM development files.
|
|
|
|
Fixes commit e57e988c39aca015100fb92377dbd8d114c0bece.
|
|
---
|
|
src/librpm-c.c | 6 ++++++
|
|
1 file changed, 6 insertions(+)
|
|
|
|
diff --git a/src/librpm-c.c b/src/librpm-c.c
|
|
index 2e2f048..523fe0b 100644
|
|
--- a/src/librpm-c.c
|
|
+++ b/src/librpm-c.c
|
|
@@ -483,6 +483,12 @@ supermin_rpm_vercmp (value av, value bv)
|
|
abort ();
|
|
}
|
|
|
|
+value
|
|
+supermin_rpm_get_arch (value unit)
|
|
+{
|
|
+ abort ();
|
|
+}
|
|
+
|
|
value
|
|
supermin_rpm_open (value debugv)
|
|
{
|
|
--
|
|
2.23.0
|
|
|