gnome-keyring: Fix build with musl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Khem Raj 2017-09-14 23:44:28 -07:00 committed by Martin Jansa
parent 4bd83dd9df
commit 04a99d7a19
2 changed files with 20 additions and 1 deletions

View File

@ -0,0 +1,17 @@
include sys/select.h for FD_* macros
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Upstream-Status: Pending
Index: gnome-keyring-2.32.1/pkcs11/rpc-layer/gkm-rpc-daemon-standalone.c
===================================================================
--- gnome-keyring-2.32.1.orig/pkcs11/rpc-layer/gkm-rpc-daemon-standalone.c
+++ gnome-keyring-2.32.1/pkcs11/rpc-layer/gkm-rpc-daemon-standalone.c
@@ -32,6 +32,7 @@
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
+#include <sys/select.h>
#include <dlfcn.h>
#include <pthread.h>

View File

@ -15,7 +15,9 @@ PR = "r12"
inherit autotools gnome gtk-doc pkgconfig gsettings
SRC_URI += "file://egg-asn1x.patch"
SRC_URI += "file://egg-asn1x.patch \
file://musl.patch \
"
DEPENDS = "gtk+ libgcrypt libtasn1 libtasn1-native gconf ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)} intltool-native"
RDEPENDS_${PN} = "libgnome-keyring glib-2.0-utils"