summaryrefslogtreecommitdiff
path: root/system/cpulimit/cpulimit.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2021-01-23 11:04:57 +0100
committerRobby Workman <rworkman@slackbuilds.org>2021-04-17 23:16:32 -0500
commitc3c7bfc07f340091a53842d867540daa1f35e516 (patch)
tree96c1db8e3d33119a9bc29b310ac8e44da65f65dd /system/cpulimit/cpulimit.SlackBuild
parent3b74d61f9855ed59956da042c34f9c10b0cd8a74 (diff)
downloadslackbuilds-c3c7bfc07f340091a53842d867540daa1f35e516.tar.gz
system/cpulimit: Patch for glibc >= 2.32.
Thanks to USUARIONUEVO on LQ Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'system/cpulimit/cpulimit.SlackBuild')
-rw-r--r--system/cpulimit/cpulimit.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/system/cpulimit/cpulimit.SlackBuild b/system/cpulimit/cpulimit.SlackBuild
index 11e58b12ed..949c11b71b 100644
--- a/system/cpulimit/cpulimit.SlackBuild
+++ b/system/cpulimit/cpulimit.SlackBuild
@@ -52,6 +52,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# https://github.com/opsengine/cpulimit/issues/96#issuecomment-748001523
+patch -p1 < $CWD/glibc-2.32.patch
+
make
mkdir -p $PKG/usr/bin