summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2022-01-23 19:16:00 +0100
committerDavid Seifert <soap@gentoo.org>2022-01-23 19:16:00 +0100
commitf0fb22b3be9aee44894859fd4306bfa4256e7c0e (patch)
tree10643b41a6bdc0e0784cdbe2948cf3c5013bf2b1 /net-nds
parentdev-lang/ocaml: respect CFLAGS (diff)
downloadgentoo-f0fb22b3be9aee44894859fd4306bfa4256e7c0e.tar.gz
gentoo-f0fb22b3be9aee44894859fd4306bfa4256e7c0e.tar.bz2
gentoo-f0fb22b3be9aee44894859fd4306bfa4256e7c0e.zip
net-nds/gssproxy: add missing #include <string.h>
Closes: https://bugs.gentoo.org/719920 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'net-nds')
-rw-r--r--net-nds/gssproxy/files/gssproxy-0.8.4-include.patch24
-rw-r--r--net-nds/gssproxy/gssproxy-0.8.4-r2.ebuild2
2 files changed, 26 insertions, 0 deletions
diff --git a/net-nds/gssproxy/files/gssproxy-0.8.4-include.patch b/net-nds/gssproxy/files/gssproxy-0.8.4-include.patch
new file mode 100644
index 000000000000..1f85329c237e
--- /dev/null
+++ b/net-nds/gssproxy/files/gssproxy-0.8.4-include.patch
@@ -0,0 +1,24 @@
+From 57f951d1e32739ddfd0d924df81da010e47d35b9 Mon Sep 17 00:00:00 2001
+From: David Seifert <soap@gentoo.org>
+Date: Sun, 23 Jan 2022 19:09:25 +0100
+Subject: [PATCH] Add missing #include for musl
+
+Bug: https://bugs.gentoo.org/719920
+
+Signed-off-by: David Seifert <soap@gentoo.org>
+---
+ src/gp_socket.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/gp_socket.c b/src/gp_socket.c
+index 9070928..493399a 100644
+--- a/src/gp_socket.c
++++ b/src/gp_socket.c
+@@ -10,6 +10,7 @@
+ #include <fcntl.h>
+ #include <netinet/in.h>
+ #include <stdlib.h>
++#include <string.h>
+ #include <sys/socket.h>
+ #include <sys/stat.h>
+ #include <sys/types.h>
diff --git a/net-nds/gssproxy/gssproxy-0.8.4-r2.ebuild b/net-nds/gssproxy/gssproxy-0.8.4-r2.ebuild
index cdf4adce1dfb..78ca63ee6d6a 100644
--- a/net-nds/gssproxy/gssproxy-0.8.4-r2.ebuild
+++ b/net-nds/gssproxy/gssproxy-0.8.4-r2.ebuild
@@ -55,6 +55,8 @@ RESTRICT="test"
# "${S}/tests/testlib.py" || die
# }
+PATCHES=( "${FILESDIR}"/${P}-include.patch )
+
src_configure() {
local myeconfargs=(
# The build assumes localstatedir is /var and takes care of