~ruther/guix-local

ref: bfdce9ffdae2b3e42f46955caee4de1a3e4c1d33 guix-local/gnu/packages/patches/shadow-hurd-pctrl.patch -rw-r--r-- 427 bytes
bfdce9ff — Tobias Geerinckx-Rice gnu: mpop: Update to 1.4.10. 6 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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