summaryrefslogtreecommitdiffstats
path: root/audio/ncmpcpp/ncmpcpp.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'audio/ncmpcpp/ncmpcpp.SlackBuild')
-rw-r--r--audio/ncmpcpp/ncmpcpp.SlackBuild4
1 files changed, 3 insertions, 1 deletions
diff --git a/audio/ncmpcpp/ncmpcpp.SlackBuild b/audio/ncmpcpp/ncmpcpp.SlackBuild
index 3bb21baf73..f44a74380f 100644
--- a/audio/ncmpcpp/ncmpcpp.SlackBuild
+++ b/audio/ncmpcpp/ncmpcpp.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for ncmpcpp
# Copyright 2006 Andrew Brouwers <abrouwers@gmail.com>
-# Copyright 2015-2017 Jostein Berntsen <jbernts@broadpark.no>
+# Copyright 2015-2017 Jostein Berntsen <jvbernts@online.no>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -72,6 +72,8 @@ 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 {} \;
+patch -p1 < $CWD/gcc10.patch
+
sed -ie 's/if (!mpeg_file->save(TagLib::MPEG::File::ID3v2, true, 4, false))/if (!mpeg_file->save(TagLib::MPEG::File::ID3v2, true, 4))/g' src/tags.cpp
./autogen.sh