commit:     b8e4dcb390354d12e7a2b2a3647bea9ef7e097b9
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 27 04:57:09 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Nov 27 04:57:09 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8e4dcb3

media-sound/vorbisgain: fix modern C issue in configure

Closes: https://bugs.gentoo.org/899862
Signed-off-by: Sam James <sam <AT> gentoo.org>

 ...vorbisgain-0.37-r4.ebuild => vorbisgain-0.37-r5.ebuild} | 14 ++++++++++++--
 1 file changed, 12 insertions(+), 2 deletions(-)

diff --git a/media-sound/vorbisgain/vorbisgain-0.37-r4.ebuild 
b/media-sound/vorbisgain/vorbisgain-0.37-r5.ebuild
similarity index 81%
rename from media-sound/vorbisgain/vorbisgain-0.37-r4.ebuild
rename to media-sound/vorbisgain/vorbisgain-0.37-r5.ebuild
index 885e785ad58c..c16c25117304 100644
--- a/media-sound/vorbisgain/vorbisgain-0.37-r4.ebuild
+++ b/media-sound/vorbisgain/vorbisgain-0.37-r5.ebuild
@@ -1,8 +1,10 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
+inherit autotools
+
 DESCRIPTION="Calculator of perceived sound level for Ogg Vorbis files"
 HOMEPAGE="https://sjeng.org/vorbisgain.html";
 SRC_URI="https://sjeng.org/ftp/vorbis/${P}.tar.gz";
@@ -13,7 +15,8 @@ KEYWORDS="amd64 ppc ppc64 ~riscv sparc x86"
 
 RDEPEND="
        media-libs/libogg
-       media-libs/libvorbis"
+       media-libs/libvorbis
+"
 DEPEND="${RDEPEND}"
 
 PATCHES=(
@@ -23,6 +26,13 @@ PATCHES=(
        "${FILESDIR}"/${P}-wformat-security.patch
 )
 
+src_prepare() {
+       default
+
+       # bug #899862
+       eautoreconf
+}
+
 src_configure() {
        econf --enable-recursive
 }

Reply via email to