diff options
author | Jan Nieuwenhuizen <janneke@gnu.org> | 2020-03-07 16:38:31 -0500 |
---|---|---|
committer | Jan Nieuwenhuizen <janneke@gnu.org> | 2020-03-26 12:59:34 +0100 |
commit | 7f31bd25ad734c483d450eefccdfb26874d2326d (patch) | |
tree | 36e252e4123a49d5667c1e243e6c775d22417c9f /gnu/packages/patches/shadow-hurd-pctrl.patch | |
parent | 3da54cc3180ce175b1820dd4e366abdbbffcb45d (diff) |
gnu: shadow: Build fix for the Hurd.
* gnu/packages/patches/shadow-hurd-pctrl.patch: New file.
* gnu/local.mk (dist_patch_DATA): Add it.
* gnu/packages/admin.scm (shadow): Use it.
Diffstat (limited to 'gnu/packages/patches/shadow-hurd-pctrl.patch')
-rw-r--r-- | gnu/packages/patches/shadow-hurd-pctrl.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/gnu/packages/patches/shadow-hurd-pctrl.patch b/gnu/packages/patches/shadow-hurd-pctrl.patch new file mode 100644 index 0000000000..2e376e19a9 --- /dev/null +++ b/gnu/packages/patches/shadow-hurd-pctrl.patch @@ -0,0 +1,16 @@ +Avoid including sys/prctl.h on the Hurd. + +Upstream status: Not submitted. + +--- shadow-4.8.1/libmisc/idmapping.c.orig 2020-03-07 16:32:05.000000000 -0500 ++++ shadow-4.8.1/libmisc/idmapping.c 2020-03-07 16:32:27.000000000 -0500 +@@ -36,8 +36,8 @@ + #include <stdio.h> + #include "prototypes.h" + #include "idmapping.h" +-#include <sys/prctl.h> + #if HAVE_SYS_CAPABILITY_H ++#include <sys/prctl.h> + #include <sys/capability.h> + #endif + |