summaryrefslogtreecommitdiff
path: root/audio/kradio
diff options
context:
space:
mode:
authorDave Woodfall <dave@slackbuilds.org>2022-03-04 11:06:20 +0000
committerDave Woodfall <dave@slackbuilds.org>2022-03-04 11:06:20 +0000
commit788edf13a96d5ce472c5562a3499decf9521c66f (patch)
treebcd23fd79c5591d6bc4c9ee7c3fef7d0b961c304 /audio/kradio
parentf650de0f07094495ea9584fa549850e501e676ab (diff)
downloadslackbuilds-788edf13a96d5ce472c5562a3499decf9521c66f.tar.gz
audio/kradio: Patch in extra #include.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Diffstat (limited to 'audio/kradio')
-rw-r--r--audio/kradio/kradio.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/audio/kradio/kradio.SlackBuild b/audio/kradio/kradio.SlackBuild
index 1c427a3974..a908ebf003 100644
--- a/audio/kradio/kradio.SlackBuild
+++ b/audio/kradio/kradio.SlackBuild
@@ -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" \