sudo: fix musl build: uid_t is defined in unistd.h (from chris2).
This commit is contained in:
parent
4ca0e0951c
commit
6ea3c122ad
2 changed files with 11 additions and 1 deletions
srcpkgs/sudo
10
srcpkgs/sudo/patches/uid_t_needs_unistd.h.patch
Normal file
10
srcpkgs/sudo/patches/uid_t_needs_unistd.h.patch
Normal file
|
@ -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 <stddef.h>
|
||||
#endif
|
||||
#include <stdarg.h>
|
||||
+#include <unistd.h>
|
||||
|
||||
/*
|
||||
* Macros and functions that may be missing on some operating systems.
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue