Gentoo Archives: gentoo-commits

From: "Miroslav Šulc" <fordfrog@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-plugins/libvisual-plugins/files/, media-plugins/libvisual-plugins/
Date: Sat, 01 Aug 2020 09:27:10
Message-Id: 1596274013.b471613efdd29f68f4304fd6232179a380ca701f.fordfrog@gentoo
1 commit: b471613efdd29f68f4304fd6232179a380ca701f
2 Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
3 AuthorDate: Sat Aug 1 09:08:59 2020 +0000
4 Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
5 CommitDate: Sat Aug 1 09:26:53 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b471613e
7
8 media-plugins/libvisual-plugins: fixed building with gcc10 and homepage
9
10 Bug: https://bugs.gentoo.org/616372
11 Closes: https://bugs.gentoo.org/708634
12 Package-Manager: Portage-3.0.1, Repoman-2.3.23
13 Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
14
15 .../files/libvisual-plugins-0.4.0-fno-common.patch | 17 +++++++++++++++++
16 .../libvisual-plugins/libvisual-plugins-0.4.0-r3.ebuild | 3 ++-
17 .../libvisual-plugins/libvisual-plugins-0.4.0-r4.ebuild | 8 ++++++--
18 3 files changed, 25 insertions(+), 3 deletions(-)
19
20 diff --git a/media-plugins/libvisual-plugins/files/libvisual-plugins-0.4.0-fno-common.patch b/media-plugins/libvisual-plugins/files/libvisual-plugins-0.4.0-fno-common.patch
21 new file mode 100644
22 index 00000000000..5544d1895e0
23 --- /dev/null
24 +++ b/media-plugins/libvisual-plugins/files/libvisual-plugins-0.4.0-fno-common.patch
25 @@ -0,0 +1,17 @@
26 +--- a/plugins/actor/oinksie/table.h
27 ++++ b/plugins/actor/oinksie/table.h
28 +@@ -27,10 +27,10 @@
29 + #define OINK_TABLE_NORMAL_SIZE 1200
30 + #define OINK_TABLE_LARGE_SIZE 12000
31 +
32 +-float _oink_table_sin[OINK_TABLE_NORMAL_SIZE];
33 +-float _oink_table_cos[OINK_TABLE_NORMAL_SIZE];
34 +-float _oink_table_sinlarge[OINK_TABLE_LARGE_SIZE];
35 +-float _oink_table_coslarge[OINK_TABLE_LARGE_SIZE];
36 ++extern float _oink_table_sin[OINK_TABLE_NORMAL_SIZE];
37 ++extern float _oink_table_cos[OINK_TABLE_NORMAL_SIZE];
38 ++extern float _oink_table_sinlarge[OINK_TABLE_LARGE_SIZE];
39 ++extern float _oink_table_coslarge[OINK_TABLE_LARGE_SIZE];
40 +
41 + void _oink_table_init ();
42 +
43
44 diff --git a/media-plugins/libvisual-plugins/libvisual-plugins-0.4.0-r3.ebuild b/media-plugins/libvisual-plugins/libvisual-plugins-0.4.0-r3.ebuild
45 index 2ebdcaae9d4..b15a83b81fd 100644
46 --- a/media-plugins/libvisual-plugins/libvisual-plugins-0.4.0-r3.ebuild
47 +++ b/media-plugins/libvisual-plugins/libvisual-plugins-0.4.0-r3.ebuild
48 @@ -7,7 +7,7 @@ inherit autotools eutils ltprune multilib-minimal
49 PATCHLEVEL=4
50
51 DESCRIPTION="collection of visualization plugins for use with the libvisual framework"
52 -HOMEPAGE="http://libvisual.sourceforge.net/"
53 +HOMEPAGE="http://libvisual.org/"
54 SRC_URI="mirror://sourceforge/libvisual/${P}.tar.gz
55 mirror://gentoo/${P}-patches-${PATCHLEVEL}.tar.bz2
56 mirror://gentoo/${P}-m4-1.tar.bz2"
57 @@ -37,6 +37,7 @@ DOCS="AUTHORS ChangeLog NEWS README TODO"
58
59 src_prepare() {
60 EPATCH_SUFFIX=patch epatch "${WORKDIR}"/patches
61 + epatch "${FILESDIR}/${P}-fno-common.patch"
62 AT_M4DIR=${WORKDIR}/m4 eautoreconf
63
64 sed -i -e "s:@MKINSTALLDIRS@:${S}/mkinstalldirs:" po/Makefile.* || die
65
66 diff --git a/media-plugins/libvisual-plugins/libvisual-plugins-0.4.0-r4.ebuild b/media-plugins/libvisual-plugins/libvisual-plugins-0.4.0-r4.ebuild
67 index 2ed77031106..8c664230ca5 100644
68 --- a/media-plugins/libvisual-plugins/libvisual-plugins-0.4.0-r4.ebuild
69 +++ b/media-plugins/libvisual-plugins/libvisual-plugins-0.4.0-r4.ebuild
70 @@ -7,7 +7,7 @@ inherit autotools eutils multilib-minimal
71 PATCHLEVEL=4
72
73 DESCRIPTION="collection of visualization plugins for use with the libvisual framework"
74 -HOMEPAGE="http://libvisual.sourceforge.net/"
75 +HOMEPAGE="http://libvisual.org/"
76 SRC_URI="mirror://sourceforge/libvisual/${P}.tar.gz
77 mirror://gentoo/${P}-patches-${PATCHLEVEL}.tar.bz2
78 mirror://gentoo/${P}-m4-1.tar.bz2"
79 @@ -36,6 +36,10 @@ DEPEND="${RDEPEND}
80
81 DOCS="AUTHORS ChangeLog NEWS README TODO"
82
83 +PATCHES=(
84 + "${FILESDIR}/${P}-fno-common.patch"
85 +)
86 +
87 src_prepare() {
88 # Can't use eapply on ${WORKDIR}/patches since the patches use different
89 # values for -p. epatch handled that automatically, eapply doesn't
90 @@ -49,7 +53,7 @@ src_prepare() {
91 eapply -p1 "${WORKDIR}"/patches/070_all_gforce-fbsd.patch
92 eapply -p1 "${WORKDIR}"/patches/080_all_qa.patch
93 eapply -p1 "${WORKDIR}"/patches/090_all_nastyfft.patch
94 - eapply_user
95 + default
96
97 AT_M4DIR=${WORKDIR}/m4 eautoreconf