diff options
Diffstat (limited to 'meta/recipes-devtools/createrepo-c')
-rw-r--r-- | meta/recipes-devtools/createrepo-c/createrepo-c/0001-include-rpm-rpmstring.h.patch | 30 | ||||
-rw-r--r-- | meta/recipes-devtools/createrepo-c/createrepo-c_1.1.0.bb (renamed from meta/recipes-devtools/createrepo-c/createrepo-c_0.17.5.bb) | 11 |
2 files changed, 36 insertions, 5 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..b7e5710b39 --- /dev/null +++ b/meta/recipes-devtools/createrepo-c/createrepo-c/0001-include-rpm-rpmstring.h.patch @@ -0,0 +1,30 @@ +From eb66326c3fc6e942282d01ddd56659c78ed7400b Mon Sep 17 00:00:00 2001 +From: Khem Raj <raj.khem@gmail.com> +Date: Fri, 13 Jan 2023 13:21:51 -0800 +Subject: [PATCH] include rpm/rpmstring.h + +Its needed for rasprintf declaration + +Fixes +src/xml_file.c:341:36: error: call to undeclared functi +on 'rasprintf'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] + +Upstream-Status: Submitted [https://github.com/rpm-software-management/createrepo_c/pull/340] +Signed-off-by: Khem Raj <raj.khem@gmail.com> + +--- + src/xml_file.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/xml_file.c b/src/xml_file.c +index d2400b8..871109c 100644 +--- a/src/xml_file.c ++++ b/src/xml_file.c +@@ -19,6 +19,7 @@ + + #include <glib.h> + #include <glib/gstdio.h> ++#include <rpm/rpmstring.h> + #include <assert.h> + #include <rpm/rpmstring.h> + #include "xml_file.h" diff --git a/meta/recipes-devtools/createrepo-c/createrepo-c_0.17.5.bb b/meta/recipes-devtools/createrepo-c/createrepo-c_1.1.0.bb index 60585fe580..1f97c99bde 100644 --- a/meta/recipes-devtools/createrepo-c/createrepo-c_0.17.5.bb +++ b/meta/recipes-devtools/createrepo-c/createrepo-c_1.1.0.bb @@ -1,21 +1,22 @@ -DESCRIPTION = "C implementation of createrepo." +SUMMARY = "C implementation of createrepo." HOMEPAGE = "https://github.com/rpm-software-management/createrepo_c/wiki" -LICENSE = "GPLv2" +LICENSE = "GPL-2.0-only" LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" -SRC_URI = "git://github.com/rpm-software-management/createrepo_c \ +SRC_URI = "git://github.com/rpm-software-management/createrepo_c;branch=master;protocol=https \ file://0001-Do-not-set-PYTHON_INSTALL_DIR-by-running-python.patch \ + file://0001-include-rpm-rpmstring.h.patch \ " -SRCREV = "ab96d490bc2f606570030fe50302d466fce8f346" +SRCREV = "10a8a7af4f1de3f98a21a7d08fe3a46ef306d197" S = "${WORKDIR}/git" DEPENDS = "expat curl glib-2.0 libxml2 openssl bzip2 zlib file sqlite3 xz rpm" DEPENDS:append:class-native = " file-replacement-native" -inherit cmake pkgconfig bash-completion distutils3-base +inherit cmake pkgconfig bash-completion setuptools3-base EXTRA_OECMAKE = " -DPYTHON_INSTALL_DIR=${PYTHON_SITEPACKAGES_DIR} -DPYTHON_DESIRED=3 -DWITH_ZCHUNK=OFF -DENABLE_DRPM=OFF -DWITH_LIBMODULEMD=OFF" |