mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
media-plugins/libvisual-plugins: fixed building with gcc10 and homepage
Bug: https://bugs.gentoo.org/616372 Closes: https://bugs.gentoo.org/708634 Package-Manager: Portage-3.0.1, Repoman-2.3.23 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
--- a/plugins/actor/oinksie/table.h
|
||||
+++ b/plugins/actor/oinksie/table.h
|
||||
@@ -27,10 +27,10 @@
|
||||
#define OINK_TABLE_NORMAL_SIZE 1200
|
||||
#define OINK_TABLE_LARGE_SIZE 12000
|
||||
|
||||
-float _oink_table_sin[OINK_TABLE_NORMAL_SIZE];
|
||||
-float _oink_table_cos[OINK_TABLE_NORMAL_SIZE];
|
||||
-float _oink_table_sinlarge[OINK_TABLE_LARGE_SIZE];
|
||||
-float _oink_table_coslarge[OINK_TABLE_LARGE_SIZE];
|
||||
+extern float _oink_table_sin[OINK_TABLE_NORMAL_SIZE];
|
||||
+extern float _oink_table_cos[OINK_TABLE_NORMAL_SIZE];
|
||||
+extern float _oink_table_sinlarge[OINK_TABLE_LARGE_SIZE];
|
||||
+extern float _oink_table_coslarge[OINK_TABLE_LARGE_SIZE];
|
||||
|
||||
void _oink_table_init ();
|
||||
|
||||
@@ -7,7 +7,7 @@ inherit autotools eutils ltprune multilib-minimal
|
||||
PATCHLEVEL=4
|
||||
|
||||
DESCRIPTION="collection of visualization plugins for use with the libvisual framework"
|
||||
HOMEPAGE="http://libvisual.sourceforge.net/"
|
||||
HOMEPAGE="http://libvisual.org/"
|
||||
SRC_URI="mirror://sourceforge/libvisual/${P}.tar.gz
|
||||
mirror://gentoo/${P}-patches-${PATCHLEVEL}.tar.bz2
|
||||
mirror://gentoo/${P}-m4-1.tar.bz2"
|
||||
@@ -37,6 +37,7 @@ DOCS="AUTHORS ChangeLog NEWS README TODO"
|
||||
|
||||
src_prepare() {
|
||||
EPATCH_SUFFIX=patch epatch "${WORKDIR}"/patches
|
||||
epatch "${FILESDIR}/${P}-fno-common.patch"
|
||||
AT_M4DIR=${WORKDIR}/m4 eautoreconf
|
||||
|
||||
sed -i -e "s:@MKINSTALLDIRS@:${S}/mkinstalldirs:" po/Makefile.* || die
|
||||
|
||||
@@ -7,7 +7,7 @@ inherit autotools eutils multilib-minimal
|
||||
PATCHLEVEL=4
|
||||
|
||||
DESCRIPTION="collection of visualization plugins for use with the libvisual framework"
|
||||
HOMEPAGE="http://libvisual.sourceforge.net/"
|
||||
HOMEPAGE="http://libvisual.org/"
|
||||
SRC_URI="mirror://sourceforge/libvisual/${P}.tar.gz
|
||||
mirror://gentoo/${P}-patches-${PATCHLEVEL}.tar.bz2
|
||||
mirror://gentoo/${P}-m4-1.tar.bz2"
|
||||
@@ -36,6 +36,10 @@ DEPEND="${RDEPEND}
|
||||
|
||||
DOCS="AUTHORS ChangeLog NEWS README TODO"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-fno-common.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
# Can't use eapply on ${WORKDIR}/patches since the patches use different
|
||||
# values for -p. epatch handled that automatically, eapply doesn't
|
||||
@@ -49,7 +53,7 @@ src_prepare() {
|
||||
eapply -p1 "${WORKDIR}"/patches/070_all_gforce-fbsd.patch
|
||||
eapply -p1 "${WORKDIR}"/patches/080_all_qa.patch
|
||||
eapply -p1 "${WORKDIR}"/patches/090_all_nastyfft.patch
|
||||
eapply_user
|
||||
default
|
||||
|
||||
AT_M4DIR=${WORKDIR}/m4 eautoreconf
|
||||
|
||||
|
||||
Reference in New Issue
Block a user