summaryrefslogtreecommitdiff
path: root/system/iotop/iotop.SlackBuild
diff options
context:
space:
mode:
authorJason Graham <jgraha8@gmail.com>2018-08-18 23:33:11 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-09-01 07:32:23 +0700
commitc0f615fb375942d05dd8316150cc082ec7f2b966 (patch)
treea7c7d9a0f1ce60944e92c4ece045a11f8ddc974b /system/iotop/iotop.SlackBuild
parentd4ae7ef92e91546c54309fa0677735754b33f9fa (diff)
downloadslackbuilds-c0f615fb375942d05dd8316150cc082ec7f2b966.tar.gz
system/iotop: Fix for iotop issue with 4.4.144 kernel
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/iotop/iotop.SlackBuild')
-rw-r--r--system/iotop/iotop.SlackBuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/system/iotop/iotop.SlackBuild b/system/iotop/iotop.SlackBuild
index 2516bf1d43..e2c8327557 100644
--- a/system/iotop/iotop.SlackBuild
+++ b/system/iotop/iotop.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=iotop
VERSION=${VERSION:-0.6}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -55,6 +55,8 @@ 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 {} \;
+patch -p1 < $CWD/fix-proc-status-read.patch
+
sed -i 's|share/man/man8|man/man8|' setup.py
python setup.py install --root=$PKG