From 6ea3c122adea4121e514b59167b159d31bc3aa1d Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 17 Mar 2015 11:03:23 +0100 Subject: [PATCH] sudo: fix musl build: uid_t is defined in unistd.h (from chris2). --- srcpkgs/sudo/patches/uid_t_needs_unistd.h.patch | 10 ++++++++++ srcpkgs/sudo/template | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/sudo/patches/uid_t_needs_unistd.h.patch diff --git a/srcpkgs/sudo/patches/uid_t_needs_unistd.h.patch b/srcpkgs/sudo/patches/uid_t_needs_unistd.h.patch new file mode 100644 index 00000000000..9d197052a16 --- /dev/null +++ b/srcpkgs/sudo/patches/uid_t_needs_unistd.h.patch @@ -0,0 +1,10 @@ +--- include/sudo_compat.h.orig 2015-03-17 11:02:15.190461995 +0100 ++++ include/sudo_compat.h 2015-03-17 11:02:36.493190547 +0100 +@@ -27,6 +27,7 @@ + # include + #endif + #include ++#include + + /* + * Macros and functions that may be missing on some operating systems. diff --git a/srcpkgs/sudo/template b/srcpkgs/sudo/template index ba94d2fa7be..8ad38410c25 100644 --- a/srcpkgs/sudo/template +++ b/srcpkgs/sudo/template @@ -1,7 +1,7 @@ # Template build file for 'sudo'. pkgname=sudo version=1.8.12 -revision=2 +revision=3 lib32disabled=yes build_style=gnu-configure configure_args="--with-ignore-dot -with-all-insults --with-env-editor