diff options
Diffstat (limited to 'meta/recipes-devtools')
| -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" |
