diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-14 03:12:30 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-14 03:12:30 -0500 |
commit | ed678f36b0bd9d632bcc2176cbe02d317503b5d4 (patch) | |
tree | fedc96c294758ce93742ae9965366ad7d5c53e88 /user/gnupg/0001-Include-sys-select.h-for-FD_SETSIZE.patch | |
parent | 31ef01c5bb17dbc28b7922d0e1c4b4d9d531c0e7 (diff) | |
download | packages-ed678f36b0bd9d632bcc2176cbe02d317503b5d4.tar.gz packages-ed678f36b0bd9d632bcc2176cbe02d317503b5d4.tar.bz2 packages-ed678f36b0bd9d632bcc2176cbe02d317503b5d4.tar.xz packages-ed678f36b0bd9d632bcc2176cbe02d317503b5d4.zip |
user/gnupg: pull in, take, bump, fix up, add -lang
Diffstat (limited to 'user/gnupg/0001-Include-sys-select.h-for-FD_SETSIZE.patch')
-rw-r--r-- | user/gnupg/0001-Include-sys-select.h-for-FD_SETSIZE.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/user/gnupg/0001-Include-sys-select.h-for-FD_SETSIZE.patch b/user/gnupg/0001-Include-sys-select.h-for-FD_SETSIZE.patch new file mode 100644 index 000000000..a835f3927 --- /dev/null +++ b/user/gnupg/0001-Include-sys-select.h-for-FD_SETSIZE.patch @@ -0,0 +1,31 @@ +From d2f3053e156a8dfc3e2e7f8fa814f671d851b26f Mon Sep 17 00:00:00 2001 +From: Natanael Copa <ncopa@alpinelinux.org> +Date: Fri, 4 Jul 2014 08:15:21 +0000 +Subject: [PATCH] Include sys/select.h for FD_SETSIZE + +This fixes the following compile error with musl libc: +watchgnupg.c:225:18: error: 'FD_SETSIZE' undeclared (first use in this +function) + else if (fd >= FD_SETSIZE) + ^ + +Signed-off-by: Natanael Copa <ncopa@alpinelinux.org> +--- + tools/watchgnupg.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/tools/watchgnupg.c b/tools/watchgnupg.c +index 4f4d54d..7aede22 100644 +--- a/tools/watchgnupg.c ++++ b/tools/watchgnupg.c +@@ -28,6 +28,7 @@ + #include <stdarg.h> + #include <assert.h> + #include <unistd.h> ++#include <sys/select.h> + #include <sys/socket.h> + #include <sys/un.h> + #include <netinet/in.h> +-- +2.0.1 + |