summaryrefslogtreecommitdiff
path: root/repo/util/procps-ng.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-03-01 21:25:54 +0000
committerdavidovski <david@davidovski.xyz>2022-03-01 21:25:54 +0000
commite8213fac46bfcb8068a883cb88b2bb1587f190f9 (patch)
tree8ec5946d18961404efb12700267e10cffffa6db7 /repo/util/procps-ng.xibuild
parent79c82d8fc0a4f6618429a0373bb832afd105543e (diff)
made packages work with musl
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 \