package/rpm: fix nss build on musl
PATCH 1/1 package/rpm: fix nss build on musl
Fixes:
- http://autobuild.buildroot.org/results/395fd44a930dfc2ad380bc735c26d9ce62344295
Signed-off-by Fabrice Fontaine <[email protected]>
--- ...0002-rpmio-digest_nss.c-fix-build-on-musl.patch | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 package/rpm/0002-rpmio-digest_nss.c-fix-build-on-musl.patch
package/rpm/0002-rpmio-digest_nss.c-fix-build-on-musl.patch new file +32 -0
@@ -0,0 +1,32 @@ +From 817dbe77e3e5a6d89540000a48584358efb4b03a Mon Sep 17 00:00:00 2001 +From: Fabrice Fontaine <[email protected]> +Date: Mon, 1 Apr 2019 07:33:19 +0200 +Subject: [PATCH] rpmio/digest_nss.c: fix build on musl + +signal.h must be included to be able to use sigaction + +Fixes: + - http://autobuild.buildroot.org/results/395fd44a930dfc2ad380bc735c26d9ce62344295 + +Signed-off-by: Fabrice Fontaine <[email protected]> +[Upstream status: +https://github.com/rpm-software-management/rpm/pull/650] +--- + rpmio/digest_nss.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/rpmio/digest_nss.c b/rpmio/digest_nss.c +index 50f8c8e90..1692a9221 100644 +--- a/rpmio/digest_nss.c ++++ b/rpmio/digest_nss.c +@@ -3,6 +3,7 @@ + #include <pthread.h> + #include <nss.h> + #include <sechash.h> ++#include <signal.h> + #include <keyhi.h> + #include <cryptohi.h> + #include <blapit.h> +-- +2.14.1 +
Signature · 1 line
2.14.1
Thomas Petazzoni
AppliedPATCH 1/1 package/rpm: fix nss build on musl
Quoted 8 lines · On Mon, 1 Apr 2019 07:55:43 +0200 Fabrice Fontaine…
Fixes:
- http://autobuild.buildroot.org/results/395fd44a930dfc2ad380bc735c26d9ce62344295Signed-off-by Fabrice Fontaine <[email protected]>--- ...0002-rpmio-digest_nss.c-fix-build-on-musl.patch | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 package/rpm/0002-rpmio-digest_nss.c-fix-build-on-musl.patch
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
PATCH 1/1 package/rpm: fix nss build on musl
In reply to Fabrice FontaineQuoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Fabrice" == Fabrice Fontaine <[email protected]> writes:
Fixes:
- http://autobuild.buildroot.org/results/395fd44a930dfc2ad380bc735c26d9ce62344295Signed-off-by Fabrice Fontaine <[email protected]>
Committed to 2019.02.x, thanks.
Signature · 1 line
Bye, Peter Korsgaard