mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
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:
@@ -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@
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user