summaryrefslogtreecommitdiff
path: root/repo/util/procps-ng.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/util/procps-ng.xibuild')
-rw-r--r--repo/util/procps-ng.xibuild11
1 files changed, 10 insertions, 1 deletions
diff --git a/repo/util/procps-ng.xibuild b/repo/util/procps-ng.xibuild
index 1c928aa..faae1e3 100644
--- a/repo/util/procps-ng.xibuild
+++ b/repo/util/procps-ng.xibuild
@@ -1,12 +1,21 @@
#!/bin/sh
MAKEDEPS="make "
-DEPS="musl ncurses"
+DEPS="utmps ncurses"
PKG_VER=3.3.17
SOURCE=https://sourceforge.net/projects/procps-ng/files/Production/procps-ng-$PKG_VER.tar.xz
DESC="Utilities for monitoring your system and its processes"
+ADDITIONAL="
+ https://raw.githubusercontent.com/dslm4515/Musl-LFS/master/patches/procps-mlfs/use_utmpx.patch
+"
+
+prepare () {
+ patch -Np1 -i use_utmpx.patch
+ sed -i '1i#include <langinfo.h>' proc/escape.c
+}
+
build () {
./configure --prefix=/usr \
--docdir=/usr/share/doc/procps-ng-$PKG_VER \