aboutsummaryrefslogtreecommitdiff
path: root/misc/par2cmdline-tbb
diff options
context:
space:
mode:
Diffstat (limited to 'misc/par2cmdline-tbb')
-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 f6524211d8247..aa15bf9e31ac2 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" \