From 04a99d7a1934865e3a30b967d4b16fd165678f55 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 14 Sep 2017 23:44:28 -0700 Subject: gnome-keyring: Fix build with musl Signed-off-by: Khem Raj Signed-off-by: Martin Jansa --- .../gnome-keyring/gnome-keyring/musl.patch | 17 +++++++++++++++++ .../recipes-gnome/gnome-keyring/gnome-keyring_2.32.1.bb | 4 +++- 2 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 meta-gnome/recipes-gnome/gnome-keyring/gnome-keyring/musl.patch diff --git a/meta-gnome/recipes-gnome/gnome-keyring/gnome-keyring/musl.patch b/meta-gnome/recipes-gnome/gnome-keyring/gnome-keyring/musl.patch new file mode 100644 index 0000000000..050b87ab24 --- /dev/null +++ b/meta-gnome/recipes-gnome/gnome-keyring/gnome-keyring/musl.patch @@ -0,0 +1,17 @@ +include sys/select.h for FD_* macros + +Signed-off-by: Khem Raj +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 + #include + #include ++#include + + #include + #include diff --git a/meta-gnome/recipes-gnome/gnome-keyring/gnome-keyring_2.32.1.bb b/meta-gnome/recipes-gnome/gnome-keyring/gnome-keyring_2.32.1.bb index 3b4cbf57f9..fd6ca73a41 100644 --- a/meta-gnome/recipes-gnome/gnome-keyring/gnome-keyring_2.32.1.bb +++ b/meta-gnome/recipes-gnome/gnome-keyring/gnome-keyring_2.32.1.bb @@ -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" -- cgit 1.2.3-korg