aboutsummaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2022-02-03 17:20:12 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-04 17:53:37 +0700
commitf14a875d54b09c20fbecbe9758d584e6c3d82596 (patch)
treee6e91cc71cd0775eb00cd0570a7f50ffd695a2c9 /misc
parent4ac12530f0770d22ce5699b011acda3dff5e2df2 (diff)
misc/par2cmdline-tbb: Fix header location.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'misc')
-rw-r--r--misc/par2cmdline-tbb/par2cmdline-tbb.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/misc/par2cmdline-tbb/par2cmdline-tbb.SlackBuild b/misc/par2cmdline-tbb/par2cmdline-tbb.SlackBuild
index f6524211d824..aa15bf9e31ac 100644
--- a/misc/par2cmdline-tbb/par2cmdline-tbb.SlackBuild
+++ b/misc/par2cmdline-tbb/par2cmdline-tbb.SlackBuild
@@ -64,6 +64,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# This header has been removed with glibc 2.32, so point at the kernel's one
+sed -i "s|sys/sysctl\.h|linux/sysctl.h|" reedsolomon.cpp
+
LDFLAGS="-lrt" \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \