net-misc/liveice: Apply gcc-10 workaround

* Dead upstream

Closes: https://bugs.gentoo.org/708642
Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
This commit is contained in:
Jakov Smolic
2021-02-11 21:05:17 +01:00
committed by Ben Kohler
parent e81771fa9f
commit 64f296e242
2 changed files with 15 additions and 12 deletions

View File

@@ -1,5 +1,5 @@
--- liveice/configure.in
+++ liveice/configure.in
--- a/configure.in
+++ b/configure.in
@@ -39,6 +39,7 @@
dnl Replace `main' with a function in -lresolv:
@@ -8,8 +8,8 @@
dnl Checks for header files.
--- liveice/Makefile.in
+++ liveice/Makefile.in
--- a/Makefile.in
+++ b/Makefile.in
@@ -1,6 +1,6 @@
CC = @CC@
CFLAGS = @CFLAGS@

View File

@@ -3,7 +3,7 @@
EAPI=7
inherit autotools toolchain-funcs
inherit autotools flag-o-matic toolchain-funcs
DESCRIPTION="Live Source Client For IceCast"
HOMEPAGE="http://star.arm.ac.uk/~spm/software/liveice.html"
@@ -13,15 +13,13 @@ LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 x86"
RDEPEND="media-sound/lame
RDEPEND="
media-sound/lame
media-sound/mpg123"
DEPEND=""
DEPEND="${RDEPEND}"
S="${WORKDIR}/${PN}"
PATCHES=(
"${FILESDIR}/${P}-build.patch"
)
PATCHES=( "${FILESDIR}"/${P}-build.patch )
src_prepare() {
default
@@ -29,7 +27,12 @@ src_prepare() {
tc-export CC
}
src_configure() {
append-flags -fcommon
default
}
src_install() {
dobin liveice
dodoc liveice.cfg README.liveice README.quickstart README_new_mixer.txt Changes.txt
dodoc liveice.cfg README.{liveice,quickstart} README_new_mixer.txt Changes.txt
}