From 1943ce3a5a02c4af6a431602e0f20e9f07ffe1e7 Mon Sep 17 00:00:00 2001 From: Dave Woodfall Date: Thu, 6 May 2021 18:30:48 +0100 Subject: audio/sonata: Fix REQUIRES for python2. Add -fcommon. Signed-off-by: Dave Woodfall Signed-off-by: Willy Sudiarto Raharjo --- audio/sonata/sonata.SlackBuild | 3 ++- audio/sonata/sonata.info | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'audio/sonata') diff --git a/audio/sonata/sonata.SlackBuild b/audio/sonata/sonata.SlackBuild index f410bc9f26ae..55532573611e 100644 --- a/audio/sonata/sonata.SlackBuild +++ b/audio/sonata/sonata.SlackBuild @@ -71,7 +71,8 @@ find -L . \ # http://lists.slackbuilds.org/pipermail/slackbuilds-users/2010-November/006637.html sed -i "s#lyricwiki.org#lyrics.wikia.org#g" sonata/info.py -python setup.py install --root=$PKG +CFLAGS="-fcommon" \ +python2 setup.py install --root=$PKG mv $PKG/usr/share/man $PKG/usr/man gzip -9 $PKG/usr/man/man?/* diff --git a/audio/sonata/sonata.info b/audio/sonata/sonata.info index 11a5228621de..9d15fb43ac52 100644 --- a/audio/sonata/sonata.info +++ b/audio/sonata/sonata.info @@ -5,6 +5,6 @@ DOWNLOAD="https://sourceforge.net/projects/sonata.berlios/files/sonata-1.6.2.1.t MD5SUM="0b912325e7175abad3bf6c0edc071e05" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="python-mpd" +REQUIRES="python2-mpd" MAINTAINER="Andrew Brouwers" EMAIL="abrouwers@gmail.com" -- cgit v1.2.3