summaryrefslogtreecommitdiffstats
path: root/package/sudo/0001-musl-fix-missing-header.patch
diff options
context:
space:
mode:
authorJörg Krause <joerg.krause@embedded.rocks>2015-08-01 09:46:04 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2015-08-01 10:14:45 +0200
commitd760d4f5dde33d32824f5655c43da42529bba022 (patch)
tree73f6fa6b1d63881f7a8fbc216d394484c4ac9bbf /package/sudo/0001-musl-fix-missing-header.patch
parent2ebbb7fe355c18a0be3d0fb8e50997142113c46b (diff)
downloadbuildroot-d760d4f5dde33d32824f5655c43da42529bba022.tar.gz
buildroot-d760d4f5dde33d32824f5655c43da42529bba022.zip
package/sudo: bump to version 1.8.14p3
Also add a patch to fix missing header include with the musl C library: ../include/sudo_util.h:220:14: error: unknown type name 'id_t' Reported upstream: http://bugzilla.sudo.ws/show_bug.cgi?id=711 Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/sudo/0001-musl-fix-missing-header.patch')
-rw-r--r--package/sudo/0001-musl-fix-missing-header.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/package/sudo/0001-musl-fix-missing-header.patch b/package/sudo/0001-musl-fix-missing-header.patch
new file mode 100644
index 0000000000..e3681b2fcc
--- /dev/null
+++ b/package/sudo/0001-musl-fix-missing-header.patch
@@ -0,0 +1,19 @@
+Header sys/types.h is needed for id_t
+
+Patch reported as bug upstream:
+http://bugzilla.sudo.ws/show_bug.cgi?id=711
+
+Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
+
+diff -purN sudo-1.8.14p3.orig/include/sudo_util.h sudo-1.8.14p3/include/sudo_util.h
+--- sudo-1.8.14p3.orig/include/sudo_util.h 2015-07-22 14:22:49.000000000 +0200
++++ sudo-1.8.14p3/include/sudo_util.h 2015-08-01 09:35:15.077909614 +0200
+@@ -23,6 +23,8 @@
+ # include "compat/stdbool.h"
+ #endif /* HAVE_STDBOOL_H */
+
++#include <sys/types.h>
++
+ /*
+ * Macros for operating on struct timeval.
+ */
OpenPOWER on IntegriCloud