diff options
| author | Khem Raj <raj.khem@gmail.com> | 2023-01-13 20:54:20 -0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-02-04 23:32:27 +0000 |
| commit | 3989d7d8d56f5de7e4616cc4956013cead14ceef (patch) | |
| tree | 8e9996560c12dbbce9eb24e33fa5c7149770ecef /meta | |
| parent | 61f3c3b12179f48bc4a2fc0b1112ca29c15816b7 (diff) | |
| download | poky-3989d7d8d56f5de7e4616cc4956013cead14ceef.tar.gz | |
createrepo-c: Include missing rpm/rpmstring.h
(From OE-Core rev: 0a5f5816ffde087c31e2889483fe38e8c740d300)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b122f4ab5d8750dd64814da0ae7c9035b7620e4c)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
| -rw-r--r-- | meta/recipes-devtools/createrepo-c/createrepo-c/0001-include-rpm-rpmstring.h.patch | 27 | ||||
| -rw-r--r-- | meta/recipes-devtools/createrepo-c/createrepo-c_0.20.1.bb | 1 |
2 files changed, 28 insertions, 0 deletions
diff --git a/meta/recipes-devtools/createrepo-c/createrepo-c/0001-include-rpm-rpmstring.h.patch b/meta/recipes-devtools/createrepo-c/createrepo-c/0001-include-rpm-rpmstring.h.patch new file mode 100644 index 0000000000..a249eaf5a1 --- /dev/null +++ b/meta/recipes-devtools/createrepo-c/createrepo-c/0001-include-rpm-rpmstring.h.patch | |||
| @@ -0,0 +1,27 @@ | |||
| 1 | From 8defe6aaf91613c3fcb540df65a94cd56d377367 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Fri, 13 Jan 2023 13:21:51 -0800 | ||
| 4 | Subject: [PATCH 1/2] include rpm/rpmstring.h | ||
| 5 | |||
| 6 | Its needed for rasprintf declaration | ||
| 7 | |||
| 8 | Fixes | ||
| 9 | src/xml_file.c:341:36: error: call to undeclared functi | ||
| 10 | on 'rasprintf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] | ||
| 11 | |||
| 12 | Upstream-Status: Submitted [https://github.com/rpm-software-management/createrepo_c/pull/340] | ||
| 13 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 14 | --- | ||
| 15 | src/xml_file.c | 1 + | ||
| 16 | 1 file changed, 1 insertion(+) | ||
| 17 | |||
| 18 | --- a/src/xml_file.c | ||
| 19 | +++ b/src/xml_file.c | ||
| 20 | @@ -19,6 +19,7 @@ | ||
| 21 | |||
| 22 | #include <glib.h> | ||
| 23 | #include <glib/gstdio.h> | ||
| 24 | +#include <rpm/rpmstring.h> | ||
| 25 | #include <assert.h> | ||
| 26 | #include "xml_file.h" | ||
| 27 | #include <errno.h> | ||
diff --git a/meta/recipes-devtools/createrepo-c/createrepo-c_0.20.1.bb b/meta/recipes-devtools/createrepo-c/createrepo-c_0.20.1.bb index d309bb895f..053198ca5e 100644 --- a/meta/recipes-devtools/createrepo-c/createrepo-c_0.20.1.bb +++ b/meta/recipes-devtools/createrepo-c/createrepo-c_0.20.1.bb | |||
| @@ -6,6 +6,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" | |||
| 6 | 6 | ||
| 7 | SRC_URI = "git://github.com/rpm-software-management/createrepo_c;branch=master;protocol=https \ | 7 | SRC_URI = "git://github.com/rpm-software-management/createrepo_c;branch=master;protocol=https \ |
| 8 | file://0001-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch \ | 8 | file://0001-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch \ |
| 9 | file://0001-include-rpm-rpmstring.h.patch \ | ||
| 9 | " | 10 | " |
| 10 | 11 | ||
| 11 | SRCREV = "af14e164a3e4ab9dfaef1212e852b9ecebc326a2" | 12 | SRCREV = "af14e164a3e4ab9dfaef1212e852b9ecebc326a2" |
