commit:     1bdd628faee21490d4918bb7959d4968485d5f81
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Mon Dec  9 10:56:40 2024 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Mon Dec  9 10:57:43 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1bdd628f

app-emacs/mpg123-el: Actually fix the compile failure

Fixes: 5daa764a2181d57551f5fa9db558a528dc302455
Closes: https://bugs.gentoo.org/946145
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 app-emacs/mpg123-el/mpg123-el-1.65.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/app-emacs/mpg123-el/mpg123-el-1.65.ebuild 
b/app-emacs/mpg123-el/mpg123-el-1.65.ebuild
index 11fe3ce47323..1594bce06f7d 100644
--- a/app-emacs/mpg123-el/mpg123-el-1.65.ebuild
+++ b/app-emacs/mpg123-el/mpg123-el-1.65.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit elisp toolchain-funcs
+inherit elisp flag-o-matic toolchain-funcs
 
 DESCRIPTION="Emacs front-end to mpg123 audio player and OggVorbis audio player"
 HOMEPAGE="https://www.gentei.org/~yuuji/software/mpg123el/";
@@ -20,6 +20,7 @@ PATCHES=( "${FILESDIR}/${PN}-1.61-stdlib.patch" )
 SITEFILE="50${PN}-gentoo.el"
 
 src_compile() {
+       append-flags -std=gnu17
        $(tc-getCC) ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} -o tagput tagput.c || die
        $(tc-getCC) ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} -o id3put id3put.c || die
        elisp-compile *.el

Reply via email to