summaryrefslogtreecommitdiff
path: root/app-misc/detachtty/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-08-08 09:27:00 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-08-08 09:27:00 +0100
commitafdfa05c5ce824f49340d033a80cdee422ac264a (patch)
treee0d45d2626035a2af2187a8359cd122dd9d4a21b /app-misc/detachtty/files
parent6cefebc8e850c862f7623af22feef1b895a79884 (diff)
gentoo auto-resync : 08:08:2023 - 09:27:00
Diffstat (limited to 'app-misc/detachtty/files')
-rw-r--r--app-misc/detachtty/files/detachtty-11.0.0-clang16-build-fix.patch43
1 files changed, 43 insertions, 0 deletions
diff --git a/app-misc/detachtty/files/detachtty-11.0.0-clang16-build-fix.patch b/app-misc/detachtty/files/detachtty-11.0.0-clang16-build-fix.patch
new file mode 100644
index 000000000000..62a3cc1c3eb1
--- /dev/null
+++ b/app-misc/detachtty/files/detachtty-11.0.0-clang16-build-fix.patch
@@ -0,0 +1,43 @@
+Bug: https://bugs.gentoo.org/894544
+Upstream PR: https://github.com/cosmos72/detachtty/pull/6
+--- a/attachtty.c
++++ b/attachtty.c
+@@ -22,6 +22,7 @@
+
+ #include <errno.h>
+ #include <time.h>
++#include <string.h>
+
+ #include "config.h"
+
+--- a/config.h
++++ b/config.h
+@@ -24,7 +24,7 @@
+ #define DETACHTTY_CONFIG_H
+
+ #include <netdb.h>
+-#include <sys/poll.h>
++#include <poll.h>
+ #include <sys/types.h>
+ #include <sys/socket.h>
+ #include <sys/un.h>
+--- a/copy-stream.c
++++ b/copy-stream.c
+@@ -23,6 +23,7 @@
+ #include <errno.h>
+ #include <sys/types.h>
+ #include <sys/socket.h>
++#include <string.h>
+
+ #include "config.h"
+
+--- a/detachtty.c
++++ b/detachtty.c
+@@ -26,6 +26,7 @@
+ #include <sys/stat.h>
+ #include <pty.h>
+ #include <fcntl.h>
++#include <string.h>
+
+ #ifndef UNIX_PATH_MAX
+ # define UNIX_PATH_MAX 108