mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-27 13:16:35 +00:00
package/rpm: fix nss build on musl
Fixes: - http://autobuild.buildroot.org/results/395fd44a930dfc2ad380bc735c26d9ce62344295 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com> (cherry picked from commit 4200087e965bcc00f854e3ab70e5e8fe8a697909) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
parent
dc38b98f60
commit
ededfea4c8
32
package/rpm/0002-rpmio-digest_nss.c-fix-build-on-musl.patch
Normal file
32
package/rpm/0002-rpmio-digest_nss.c-fix-build-on-musl.patch
Normal file
@ -0,0 +1,32 @@
|
|||||||
|
From 817dbe77e3e5a6d89540000a48584358efb4b03a Mon Sep 17 00:00:00 2001
|
||||||
|
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||||
|
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 <fontaine.fabrice@gmail.com>
|
||||||
|
[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
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user