diff options
Diffstat (limited to 'x11-misc/ktsuss/files/ktsuss-2.1-clang16.patch')
-rw-r--r-- | x11-misc/ktsuss/files/ktsuss-2.1-clang16.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/x11-misc/ktsuss/files/ktsuss-2.1-clang16.patch b/x11-misc/ktsuss/files/ktsuss-2.1-clang16.patch new file mode 100644 index 000000000000..e0763c688a62 --- /dev/null +++ b/x11-misc/ktsuss/files/ktsuss-2.1-clang16.patch @@ -0,0 +1,29 @@ +https://bugs.gentoo.org/874540 +--- a/src/ktsuss.c ++++ b/src/ktsuss.c +@@ -38,2 +38,3 @@ + #include <sys/types.h> ++#include <err.h> + #include <errno.h> +--- a/src/su_backend.c ++++ b/src/su_backend.c +@@ -40,2 +40,3 @@ + #include <sys/types.h> ++#include <err.h> + #include <errno.h> +@@ -54,2 +55,4 @@ + ++void tty_raw(int ttyfd); ++ + static struct termios orig_termios; +--- a/src/sudo_backend.c ++++ b/src/sudo_backend.c +@@ -40,2 +40,3 @@ + #include <sys/types.h> ++#include <err.h> + #include <errno.h> +@@ -55,2 +56,4 @@ + ++void tty_raw(int ttyfd); ++ + static struct termios orig_termios; |