summaryrefslogtreecommitdiff
path: root/net/ucspi-unix/patches/patch-unixserver.c
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2020-11-18 14:31:43 +0000
committerschmonz <schmonz@pkgsrc.org>2020-11-18 14:31:43 +0000
commit9f7c0aee2266f817c86cba98b43632b9f452c87e (patch)
tree1b119ba771e9099053b5da169834b091c617fe99 /net/ucspi-unix/patches/patch-unixserver.c
parentac0ea48fe3faaa49702332aa38973988adcf2bdf (diff)
downloadpkgsrc-9f7c0aee2266f817c86cba98b43632b9f452c87e.tar.gz
Initial import of ucspi-unix, an UCSPI-conformant UNIX domain socket
client and server.
Diffstat (limited to 'net/ucspi-unix/patches/patch-unixserver.c')
-rw-r--r--net/ucspi-unix/patches/patch-unixserver.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/net/ucspi-unix/patches/patch-unixserver.c b/net/ucspi-unix/patches/patch-unixserver.c
new file mode 100644
index 00000000000..201cbbf6e16
--- /dev/null
+++ b/net/ucspi-unix/patches/patch-unixserver.c
@@ -0,0 +1,14 @@
+$NetBSD: patch-unixserver.c,v 1.1 2020/11/18 14:31:43 schmonz Exp $
+
+Include missing strlen declaration.
+
+--- unixserver.c.orig 2015-08-12 03:05:40.000000000 +0000
++++ unixserver.c
+@@ -1,6 +1,7 @@
+ #include <signal.h>
+ #include <stdio.h>
+ #include <stdlib.h>
++#include <string.h>
+ #include <sys/stat.h>
+ #include <sys/types.h>
+ #include <sys/socket.h>