summaryrefslogtreecommitdiffstats
path: root/package/p11-kit
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2015-12-02 07:34:07 -0300
committerPeter Korsgaard <peter@korsgaard.com>2015-12-02 21:34:38 +0100
commite0b3badba18d91afc0611eb24656c850909d4d1d (patch)
tree8882fbc35de6ee4be51092238174fec17f43cab9 /package/p11-kit
parent71dabb5c1b192492cea06ae08489f5cea0f132e1 (diff)
downloadbuildroot-e0b3badba18d91afc0611eb24656c850909d4d1d.tar.gz
buildroot-e0b3badba18d91afc0611eb24656c850909d4d1d.zip
p11-kit: bump to version 0.23.1
It's required for the new gnutls version, fixes: http://autobuild.buildroot.net/results/3ec/3ecac965455dc169162cbdb50f8ff07e2880e504/ Patch status: reported upstream: https://bugs.freedesktop.org/show_bug.cgi?id=93211 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/p11-kit')
-rw-r--r--package/p11-kit/0002-rpc-transport.c-include-sys-select.h-for-fd_set.patch36
-rw-r--r--package/p11-kit/p11-kit.hash2
-rw-r--r--package/p11-kit/p11-kit.mk2
3 files changed, 38 insertions, 2 deletions
diff --git a/package/p11-kit/0002-rpc-transport.c-include-sys-select.h-for-fd_set.patch b/package/p11-kit/0002-rpc-transport.c-include-sys-select.h-for-fd_set.patch
new file mode 100644
index 0000000000..bff732c20f
--- /dev/null
+++ b/package/p11-kit/0002-rpc-transport.c-include-sys-select.h-for-fd_set.patch
@@ -0,0 +1,36 @@
+From 1071268d06da269de56c895af940e6f15bcf79e7 Mon Sep 17 00:00:00 2001
+From: Gustavo Zacarias <gustavo@zacarias.com.ar>
+Date: Wed, 2 Dec 2015 07:15:43 -0300
+Subject: [PATCH] rpc-transport.c: include sys/select.h for fd_set
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+fd_set and friends, according to POSIX.1-2001, needs sys/select.h, so
+include it otherwise the build fails for uClibc:
+
+p11-kit/rpc-transport.c: In function ‘rpc_socket_read’:
+p11-kit/rpc-transport.c:350:2: error: unknown type name ‘fd_set’
+p11-kit/rpc-transport.c:416:4: warning: implicit declaration of function
+‘FD_ZERO’ [-Wimplicit-function-declaration]
+
+Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
+---
+ p11-kit/rpc-transport.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/p11-kit/rpc-transport.c b/p11-kit/rpc-transport.c
+index 7176b39..5251e11 100644
+--- a/p11-kit/rpc-transport.c
++++ b/p11-kit/rpc-transport.c
+@@ -55,6 +55,7 @@
+ #include <string.h>
+
+ #ifdef OS_UNIX
++#include <sys/select.h>
+ #include <sys/socket.h>
+ #include <sys/wait.h>
+ #include <sys/un.h>
+--
+2.4.10
+
diff --git a/package/p11-kit/p11-kit.hash b/package/p11-kit/p11-kit.hash
index 955b890f46..d43a8fddc7 100644
--- a/package/p11-kit/p11-kit.hash
+++ b/package/p11-kit/p11-kit.hash
@@ -1,2 +1,2 @@
# Locally calculated after checking pgp signature
-sha256 68405492fe466b33927d461302aa98e703db3b8a596411585508bc33084484d2 p11-kit-0.20.7.tar.gz
+sha256 e57371669f3b157141b86c429bd9c29741994b2f5ff115fcb8a03e751b0f6ac4 p11-kit-0.23.1.tar.gz
diff --git a/package/p11-kit/p11-kit.mk b/package/p11-kit/p11-kit.mk
index d661c1f797..03d26e21e9 100644
--- a/package/p11-kit/p11-kit.mk
+++ b/package/p11-kit/p11-kit.mk
@@ -4,7 +4,7 @@
#
################################################################################
-P11_KIT_VERSION = 0.20.7
+P11_KIT_VERSION = 0.23.1
P11_KIT_SITE = http://p11-glue.freedesktop.org/releases
P11_KIT_DEPENDENCIES = host-pkgconf libffi libtasn1
P11_KIT_INSTALL_STAGING = YES
OpenPOWER on IntegriCloud