commit:     f0fb22b3be9aee44894859fd4306bfa4256e7c0e
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 23 18:16:00 2022 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sun Jan 23 18:16:00 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0fb22b3

net-nds/gssproxy: add missing #include <string.h>

Closes: https://bugs.gentoo.org/719920
Signed-off-by: David Seifert <soap <AT> gentoo.org>

 .../gssproxy/files/gssproxy-0.8.4-include.patch    | 24 ++++++++++++++++++++++
 net-nds/gssproxy/gssproxy-0.8.4-r2.ebuild          |  2 ++
 2 files changed, 26 insertions(+)

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 <[email protected]>
+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 <[email protected]>
+---
+ 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

Reply via email to