summaryrefslogtreecommitdiff
path: root/net-dialup/rp-l2tp/files/rp-l2tp-0.4-clang16-build-fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'net-dialup/rp-l2tp/files/rp-l2tp-0.4-clang16-build-fix.patch')
-rw-r--r--net-dialup/rp-l2tp/files/rp-l2tp-0.4-clang16-build-fix.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/net-dialup/rp-l2tp/files/rp-l2tp-0.4-clang16-build-fix.patch b/net-dialup/rp-l2tp/files/rp-l2tp-0.4-clang16-build-fix.patch
new file mode 100644
index 000000000000..dc4269764a27
--- /dev/null
+++ b/net-dialup/rp-l2tp/files/rp-l2tp-0.4-clang16-build-fix.patch
@@ -0,0 +1,11 @@
+Bug: https://bugs.gentoo.org/897858
+--- a/handlers/cmd-control.c
++++ b/handlers/cmd-control.c
+@@ -16,6 +16,7 @@
+ static char const RCSID[] =
+ "$Id: cmd-control.c,v 1.2 2002/09/30 19:45:00 dskoll Exp $";
+ #include <stdio.h>
++#include <string.h>
+ #include <sys/socket.h>
+ #include <sys/un.h>
+ #include <sys/types.h>