audio/kradio: Patch in extra #include.

Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
This commit is contained in:
Dave Woodfall 2022-03-04 11:06:20 +00:00
parent f650de0f07
commit 788edf13a9

View file

@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=kradio
VERSION=${VERSION:-5.0.0_beta1}
SRCVER=$(echo $VERSION | tr _ - )
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -81,6 +81,9 @@ 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 {} \;
# stops bailing out with std::numeric_limits errors
sed -i "1i #include <KF5/wtf/HashTraits.h>" src/soundformat.h
mkdir -p build
cd build
cmake -G "Unix Makefiles" \