mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 16:13:50 +02:00
psmisc: fix ppc64*-musl
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
parent
50b86ba65d
commit
bb66d193e5
1 changed files with 12 additions and 0 deletions
12
srcpkgs/psmisc/patches/ppc-musl.patch
Normal file
12
srcpkgs/psmisc/patches/ppc-musl.patch
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
--- src/peekfd.c 2018-08-13 13:24:56.871341954 +0200
|
||||||
|
+++ src/peekfd.c 2019-01-12 21:44:15.913496261 +0100
|
||||||
|
@@ -30,7 +30,9 @@
|
||||||
|
#include <asm/ptrace.h>
|
||||||
|
#include <byteswap.h>
|
||||||
|
#include <endian.h>
|
||||||
|
+#if !defined(PPC) || defined(__GLIBC__)
|
||||||
|
#include <sys/user.h>
|
||||||
|
+#endif
|
||||||
|
#include <stdlib.h>
|
||||||
|
#include <getopt.h>
|
||||||
|
#include <ctype.h>
|
Loading…
Add table
Reference in a new issue