commit:     0a3efeebaa3093ebc485360cacb825ae3549d007
Author:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Tue Jul 29 03:21:14 2025 +0000
Commit:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Tue Jul 29 03:34:25 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a3efeeb

media-sound/streamtranscoder: get autoreconf working

It uses vintage autotools with Modern C issues in the configure checks.

Closes: https://bugs.gentoo.org/899858
Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>

 .../streamtranscoder/streamtranscoder-3.1.11-r1.ebuild       | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/media-sound/streamtranscoder/streamtranscoder-3.1.11-r1.ebuild 
b/media-sound/streamtranscoder/streamtranscoder-3.1.11-r1.ebuild
index 999b4bb022e9..d63288426dc7 100644
--- a/media-sound/streamtranscoder/streamtranscoder-3.1.11-r1.ebuild
+++ b/media-sound/streamtranscoder/streamtranscoder-3.1.11-r1.ebuild
@@ -3,7 +3,9 @@
 
 EAPI=8
 
-inherit dot-a
+AT_M4DIR=m4/
+
+inherit autotools dot-a
 
 MY_P="${PN}v3-${PV}"
 
@@ -24,6 +26,14 @@ RDEPEND="
        net-misc/curl"
 DEPEND="${RDEPEND}"
 
+src_prepare() {
+       default
+
+       # should not be commented...
+       sed -i 's/#AC_PROG_CXX/AC_PROG_CXX/' configure.in || die
+       eautoreconf
+}
+
 src_configure() {
        lto-guarantee-fat
        default

Reply via email to