diff options
Diffstat (limited to 'security/sudo/patches/patch-include_sudo__compat.h')
-rw-r--r-- | security/sudo/patches/patch-include_sudo__compat.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/security/sudo/patches/patch-include_sudo__compat.h b/security/sudo/patches/patch-include_sudo__compat.h deleted file mode 100644 index 0b1597035a5..00000000000 --- a/security/sudo/patches/patch-include_sudo__compat.h +++ /dev/null @@ -1,20 +0,0 @@ -$NetBSD: patch-include_sudo__compat.h,v 1.1 2017/05/31 02:22:02 maya Exp $ - -Work around missing WCONTINUED/WIFCONTINUED support in -NetBSD<8 - ---- include/sudo_compat.h.orig 2017-05-10 15:38:43.000000000 +0000 -+++ include/sudo_compat.h -@@ -304,6 +304,12 @@ extern int errno; - # define SIG2STR_MAX 32 - #endif - -+/* Deficiencies in NetBSD<8 */ -+#ifndef WCONTINUED -+# define WCONTINUED 0 -+# define WIFCONTINUED(a) 0 -+#endif -+ - /* WCOREDUMP is not POSIX, this usually works (verified on AIX). */ - #ifndef WCOREDUMP - # define WCOREDUMP(x) ((x) & 0x80) |