summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 00000000000..1f85329c237
--- /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 cdf4adce1df..78ca63ee6d6 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