From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 323F7138359 for ; Sat, 1 Aug 2020 09:27:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 57B03E09BB; Sat, 1 Aug 2020 09:27:09 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2B03FE09BB for ; Sat, 1 Aug 2020 09:27:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B825834F285 for ; Sat, 1 Aug 2020 09:27:07 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BB393295 for ; Sat, 1 Aug 2020 09:27:05 +0000 (UTC) From: "Miroslav Šulc" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Miroslav Šulc" Message-ID: <1596274013.b471613efdd29f68f4304fd6232179a380ca701f.fordfrog@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-plugins/libvisual-plugins/files/, media-plugins/libvisual-plugins/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-plugins/libvisual-plugins/files/libvisual-plugins-0.4.0-fno-common.patch media-plugins/libvisual-plugins/libvisual-plugins-0.4.0-r3.ebuild media-plugins/libvisual-plugins/libvisual-plugins-0.4.0-r4.ebuild X-VCS-Directories: media-plugins/libvisual-plugins/files/ media-plugins/libvisual-plugins/ X-VCS-Committer: fordfrog X-VCS-Committer-Name: Miroslav Šulc X-VCS-Revision: b471613efdd29f68f4304fd6232179a380ca701f X-VCS-Branch: master Date: Sat, 1 Aug 2020 09:27:05 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: da0829b8-dadb-4941-908f-46f57fc67332 X-Archives-Hash: db567b226e0950a2b1d80425287184b0 commit: b471613efdd29f68f4304fd6232179a380ca701f Author: Miroslav Šulc gentoo org> AuthorDate: Sat Aug 1 09:08:59 2020 +0000 Commit: Miroslav Šulc gentoo org> CommitDate: Sat Aug 1 09:26:53 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b471613e 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 gentoo.org> .../files/libvisual-plugins-0.4.0-fno-common.patch | 17 +++++++++++++++++ .../libvisual-plugins/libvisual-plugins-0.4.0-r3.ebuild | 3 ++- .../libvisual-plugins/libvisual-plugins-0.4.0-r4.ebuild | 8 ++++++-- 3 files changed, 25 insertions(+), 3 deletions(-) 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 new file mode 100644 index 00000000000..5544d1895e0 --- /dev/null +++ b/media-plugins/libvisual-plugins/files/libvisual-plugins-0.4.0-fno-common.patch @@ -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 (); + 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 index 2ebdcaae9d4..b15a83b81fd 100644 --- a/media-plugins/libvisual-plugins/libvisual-plugins-0.4.0-r3.ebuild +++ b/media-plugins/libvisual-plugins/libvisual-plugins-0.4.0-r3.ebuild @@ -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 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 index 2ed77031106..8c664230ca5 100644 --- a/media-plugins/libvisual-plugins/libvisual-plugins-0.4.0-r4.ebuild +++ b/media-plugins/libvisual-plugins/libvisual-plugins-0.4.0-r4.ebuild @@ -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