main/gnome-keyring: fix musl build

This commit is contained in:
Timo Teräs 2013-10-04 11:44:09 +00:00
parent 7b06ef79f3
commit 64aaedf017
2 changed files with 21 additions and 2 deletions

View File

@ -29,7 +29,9 @@ makedepends="$depends_dev intltool gobject-introspection-dev"
install=
subpackages="$pkgname-dev"
source="ftp://ftp.gnome.org/pub/GNOME/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2
egg-asn1x.patch"
egg-asn1x.patch
fix-includes.patch
"
_builddir="${srcdir}/${pkgname}-${pkgver}"
@ -66,4 +68,11 @@ package() {
}
md5sums="9a8aa74e03361676f29d6e73155786fc gnome-keyring-2.32.1.tar.bz2
ab08614f54aa38fabecbf1e18c6b3518 egg-asn1x.patch"
ab08614f54aa38fabecbf1e18c6b3518 egg-asn1x.patch
e70751be048bf0debabc6d3c5d10658e fix-includes.patch"
sha256sums="31fecec1430a97f59a6159a5a2ea8d6a1b44287f1e9e595b3594df46bf7f18f9 gnome-keyring-2.32.1.tar.bz2
081c4a213618e0c96a9f649f6987597f2a89f7fd0fc2c91ae29dde4442a9e60b egg-asn1x.patch
eeab3d71e26585d65f40f443486177cde05d4819f8457e1ab24c7075c389cc6b fix-includes.patch"
sha512sums="23b91bc11be2805df228de98513a5f96386a89d6ead6434b7fdf4a3bee86b6601bb994b9de4524f8751c7d7f1ac9462c592bcd9b77c32234fc709148450e382b gnome-keyring-2.32.1.tar.bz2
a2b24073a4e9d2a131cb49dc83ed8a7dab04ea15bd1e3d7b0ffbddf0e55ea42869f171393e643213fe79bc7981fd4b3bb7c7bbd1199fec8c5d82545fbc19099e egg-asn1x.patch
99af8b23c8b53bc1e70f921c872563b779c1ec59db72474b62e6d693f0d82d38b94607c8b9d53e751cf4a44873c91e283bc27d69f37433a37aa40e990caa1249 fix-includes.patch"

View File

@ -0,0 +1,10 @@
--- 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>