diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2022-02-03 17:20:12 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-02-04 17:53:37 +0700 |
commit | f14a875d54b09c20fbecbe9758d584e6c3d82596 (patch) | |
tree | e6e91cc71cd0775eb00cd0570a7f50ffd695a2c9 /misc/par2cmdline-tbb/par2cmdline-tbb.SlackBuild | |
parent | 4ac12530f0770d22ce5699b011acda3dff5e2df2 (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/par2cmdline-tbb/par2cmdline-tbb.SlackBuild')
-rw-r--r-- | misc/par2cmdline-tbb/par2cmdline-tbb.SlackBuild | 3 |
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" \ |