summaryrefslogtreecommitdiff
path: root/audio/ncmpcpp/ncmpcpp.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2020-12-09 17:07:09 +0100
committerRobby Workman <rworkman@slackbuilds.org>2021-04-17 23:44:59 -0500
commit1deb7fa0d1af7505b83ea201aed6d43690f4c39d (patch)
treea666ed5011d58305a4841f39323842c13556e80e /audio/ncmpcpp/ncmpcpp.SlackBuild
parentcf574cea785729b112d6aeb3df26301d6afeca13 (diff)
downloadslackbuilds-1deb7fa0d1af7505b83ea201aed6d43690f4c39d.tar.gz
audio/ncmpcpp: Patch for gcc >= 10.x.
thanks Archlinux! Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'audio/ncmpcpp/ncmpcpp.SlackBuild')
-rw-r--r--audio/ncmpcpp/ncmpcpp.SlackBuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/audio/ncmpcpp/ncmpcpp.SlackBuild b/audio/ncmpcpp/ncmpcpp.SlackBuild
index f3663f68eb..f44a74380f 100644
--- a/audio/ncmpcpp/ncmpcpp.SlackBuild
+++ b/audio/ncmpcpp/ncmpcpp.SlackBuild
@@ -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