misc/par2cmdline-tbb: Fix header location.

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Matteo Bernardini 2022-02-03 17:20:12 +01:00 committed by Willy Sudiarto Raharjo
parent 4ac12530f0
commit f14a875d54
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
1 changed files with 3 additions and 0 deletions

View File

@ -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" \