aboutsummaryrefslogtreecommitdiff
path: root/package/sudo/0001-make-signame-include-unistd_h.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/sudo/0001-make-signame-include-unistd_h.patch')
-rw-r--r--package/sudo/0001-make-signame-include-unistd_h.patch20
1 files changed, 0 insertions, 20 deletions
diff --git a/package/sudo/0001-make-signame-include-unistd_h.patch b/package/sudo/0001-make-signame-include-unistd_h.patch
deleted file mode 100644
index 234cd716f0..0000000000
--- a/package/sudo/0001-make-signame-include-unistd_h.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-signame.c uses sudo_compat.h which in turn uses gid_t definitions
-that are normally defined in unistd.h.
-This doesn't seem to cause issues with (e)glibc systems, but it does break
-uClibc-based builds.
-
-Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
-
-diff -Nura sudo-1.8.12.orig/lib/util/mksigname.c sudo-1.8.12/lib/util/mksigname.c
---- sudo-1.8.12.orig/lib/util/mksigname.c 2015-02-09 15:40:10.000000000 -0300
-+++ sudo-1.8.12/lib/util/mksigname.c 2015-02-17 09:20:05.126701093 -0300
-@@ -44,6 +44,9 @@
-
- printf("#include <config.h>\n");
- printf("#include <signal.h>\n");
-+ printf("#ifdef HAVE_UNISTD_H\n");
-+ printf("#include <unistd.h>\n");
-+ printf("#endif /* HAVE_UNISTD_H */\n");
- printf("#include \"sudo_compat.h\"\n\n");
- printf("const char *const sudo_sys_signame[NSIG] = {\n");
- for (i = 0; i < NSIG; i++) {