summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2023-05-09 19:23:43 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-05-22 10:53:47 +0100
commitcf8610beb74377abd2fe37f4a139bc9ca3cf0b46 (patch)
tree55e9d5eff08ff31d7eb7e5d65749d4f8b1465607 /meta/recipes-devtools
parent14261b3f744e3849b817192fa1f6dfe9f7abc37d (diff)
downloadpoky-cf8610beb74377abd2fe37f4a139bc9ca3cf0b46.tar.gz
createrepo-c: update 0.20.1 -> 0.21.1
(From OE-Core rev: 9012ad6f3bdda5ca669c20ade397ec45d2bed731) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/createrepo-c/createrepo-c/0001-include-rpm-rpmstring.h.patch9
-rw-r--r--meta/recipes-devtools/createrepo-c/createrepo-c/0001-src-cmd_parser.c-add-a-missing-parameter-name.patch39
-rw-r--r--meta/recipes-devtools/createrepo-c/createrepo-c_0.21.1.bb (renamed from meta/recipes-devtools/createrepo-c/createrepo-c_0.20.1.bb)3
3 files changed, 47 insertions, 4 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
index a249eaf5a1..b7e5710b39 100644
--- 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
@@ -1,7 +1,7 @@
1From 8defe6aaf91613c3fcb540df65a94cd56d377367 Mon Sep 17 00:00:00 2001 1From eb66326c3fc6e942282d01ddd56659c78ed7400b Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 13 Jan 2023 13:21:51 -0800 3Date: Fri, 13 Jan 2023 13:21:51 -0800
4Subject: [PATCH 1/2] include rpm/rpmstring.h 4Subject: [PATCH] include rpm/rpmstring.h
5 5
6Its needed for rasprintf declaration 6Its needed for rasprintf declaration
7 7
@@ -11,10 +11,13 @@ on 'rasprintf'; ISO C99 and later do not support implicit function declarations
11 11
12Upstream-Status: Submitted [https://github.com/rpm-software-management/createrepo_c/pull/340] 12Upstream-Status: Submitted [https://github.com/rpm-software-management/createrepo_c/pull/340]
13Signed-off-by: Khem Raj <raj.khem@gmail.com> 13Signed-off-by: Khem Raj <raj.khem@gmail.com>
14
14--- 15---
15 src/xml_file.c | 1 + 16 src/xml_file.c | 1 +
16 1 file changed, 1 insertion(+) 17 1 file changed, 1 insertion(+)
17 18
19diff --git a/src/xml_file.c b/src/xml_file.c
20index d2400b8..871109c 100644
18--- a/src/xml_file.c 21--- a/src/xml_file.c
19+++ b/src/xml_file.c 22+++ b/src/xml_file.c
20@@ -19,6 +19,7 @@ 23@@ -19,6 +19,7 @@
@@ -23,5 +26,5 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
23 #include <glib/gstdio.h> 26 #include <glib/gstdio.h>
24+#include <rpm/rpmstring.h> 27+#include <rpm/rpmstring.h>
25 #include <assert.h> 28 #include <assert.h>
29 #include <rpm/rpmstring.h>
26 #include "xml_file.h" 30 #include "xml_file.h"
27 #include <errno.h>
diff --git a/meta/recipes-devtools/createrepo-c/createrepo-c/0001-src-cmd_parser.c-add-a-missing-parameter-name.patch b/meta/recipes-devtools/createrepo-c/createrepo-c/0001-src-cmd_parser.c-add-a-missing-parameter-name.patch
new file mode 100644
index 0000000000..0d1c6b08fb
--- /dev/null
+++ b/meta/recipes-devtools/createrepo-c/createrepo-c/0001-src-cmd_parser.c-add-a-missing-parameter-name.patch
@@ -0,0 +1,39 @@
1From 970b901e1999f415da8bac205f526c808ddad0ba Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex@linutronix.de>
3Date: Mon, 8 May 2023 10:40:43 +0200
4Subject: [PATCH] src/cmd_parser.c: add a missing parameter name
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8
9This resolves the following error with older versions of gcc:
10| /srv/storage/alex/yocto/build-32/tmp/work/x86_64-linux/createrepo-c-native/0.21.1-r0/git/src/cmd_parser.c: In function ‘duplicated_nevra_option_parser’:
11| /srv/storage/alex/yocto/build-32/tmp/work/x86_64-linux/createrepo-c-native/0.21.1-r0/git/src/cmd_parser.c:76:32: error: parameter name omitted
12| 76 | duplicated_nevra_option_parser(const gchar *,
13| | ^~~~~~~~~~~~~
14| /srv/storage/alex/yocto/build-32/tmp/work/x86_64-linux/createrepo-c-native/0.21.1-r0/git/src/cmd_parser.c:78:32: error: parameter name omitted
15| 78 | gpointer,
16| | ^~~~~~~~
17
18Upstream-Status: Submitted [https://github.com/rpm-software-management/createrepo_c/pull/366]
19Signed-off-by: Alexander Kanavin <alex@linutronix.de>
20---
21 src/cmd_parser.c | 4 ++--
22 1 file changed, 2 insertions(+), 2 deletions(-)
23
24diff --git a/src/cmd_parser.c b/src/cmd_parser.c
25index 97c9ea7..63af7ea 100644
26--- a/src/cmd_parser.c
27+++ b/src/cmd_parser.c
28@@ -73,9 +73,9 @@ struct CmdOptions _cmd_options = {
29
30
31 gboolean
32-duplicated_nevra_option_parser(const gchar *,
33+duplicated_nevra_option_parser(const gchar *option_name,
34 const gchar *value,
35- gpointer,
36+ gpointer data,
37 GError **error)
38 {
39 if (!g_strcmp0(value, "keep"))
diff --git a/meta/recipes-devtools/createrepo-c/createrepo-c_0.20.1.bb b/meta/recipes-devtools/createrepo-c/createrepo-c_0.21.1.bb
index 1c4cdd5e3c..5080131dc1 100644
--- a/meta/recipes-devtools/createrepo-c/createrepo-c_0.20.1.bb
+++ b/meta/recipes-devtools/createrepo-c/createrepo-c_0.21.1.bb
@@ -7,9 +7,10 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
7SRC_URI = "git://github.com/rpm-software-management/createrepo_c;branch=master;protocol=https \ 7SRC_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 file://0001-include-rpm-rpmstring.h.patch \
10 file://0001-src-cmd_parser.c-add-a-missing-parameter-name.patch \
10 " 11 "
11 12
12SRCREV = "af14e164a3e4ab9dfaef1212e852b9ecebc326a2" 13SRCREV = "0652d7303ce236e596c83c29ccc9bee7868fce6e"
13 14
14S = "${WORKDIR}/git" 15S = "${WORKDIR}/git"
15 16