diff options
author | Cem Keylan <cem@ckyln.com> | 2021-02-10 03:57:04 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2021-02-10 03:57:04 +0300 |
commit | f3e34b5a2791dbec7046c994ea01a7b22c4bd018 (patch) | |
tree | 938eec4ef712176725a7e23e76354e9c98fc0200 /extra/procps-ng/build | |
parent | 1691995b13cb79a2f8797408f54a3180c296b3f1 (diff) | |
download | repository-f3e34b5a2791dbec7046c994ea01a7b22c4bd018.tar.gz |
procps-ng: bump to 3.3.17
Diffstat (limited to 'extra/procps-ng/build')
-rwxr-xr-x | extra/procps-ng/build | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/extra/procps-ng/build b/extra/procps-ng/build index 7537bea9..90428dc7 100755 --- a/extra/procps-ng/build +++ b/extra/procps-ng/build @@ -1,10 +1,14 @@ #!/bin/sh -e -export CFLAGS="$CFLAGS -static" - ./configure \ --prefix=/usr \ --sbindir=/usr/bin -make +# Fix includes for w.c +sed -i 's|HAVE_UTMPX_H|DONT_HAVE_IT_THANK_YOU_VERY_MUCH|g' w.c + +# Fix includes for proc/escape.c +sed -i '/\#endif/a #include <langinfo.h>' proc/escape.c + +make CCLD="${CC:-cc} -all-static" make DESTDIR="$1" install |