psmisc: unbreak musl build.
This commit is contained in:
parent
c6648edc21
commit
5d6e5b8227
2 changed files with 13 additions and 1 deletions
12
srcpkgs/psmisc/patches/musl.patch
Normal file
12
srcpkgs/psmisc/patches/musl.patch
Normal file
|
@ -0,0 +1,12 @@
|
|||
PATH_MAX is defined in limits.h.
|
||||
|
||||
--- src/pstree.c.orig 2014-11-10 15:26:59.195715584 +0100
|
||||
+++ src/pstree.c 2014-11-10 15:27:20.666926426 +0100
|
||||
@@ -38,6 +38,7 @@
|
||||
#include <termios.h>
|
||||
#include <langinfo.h>
|
||||
#include <assert.h>
|
||||
+#include <limits.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/ioctl.h>
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'psmisc'
|
||||
pkgname=psmisc
|
||||
version=22.21
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-configure
|
||||
makedepends="ncurses-devel"
|
||||
short_desc="Small set of utilities that use the linux proc filesystem"
|
||||
|
|
Loading…
Add table
Reference in a new issue