commit:     c57297b700025083c73cf90a6c9ea0829126f478
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 11 08:24:12 2022 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Tue Oct 11 08:56:01 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c57297b7

media-radio/ibp: pass -std=gnu89

Does not build with `clang -std=c2x`, early workaround for
when this will become a default.

(not actively hunting for these, merely revisiting packages
previously looked at for clang16 even if not an issue "yet").

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 media-radio/ibp/ibp-0.21-r2.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/media-radio/ibp/ibp-0.21-r2.ebuild 
b/media-radio/ibp/ibp-0.21-r2.ebuild
index 3a9d39772a5e..66da2274b686 100644
--- a/media-radio/ibp/ibp-0.21-r2.ebuild
+++ b/media-radio/ibp/ibp-0.21-r2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI="7"
 
-inherit toolchain-funcs
+inherit flag-o-matic toolchain-funcs
 
 DESCRIPTION="Shows currently transmitting beacons of the International Beacon 
Project (IBP)"
 HOMEPAGE="http://www.pa3fwm.nl/software/ibp/";
@@ -37,6 +37,8 @@ src_prepare() {
 }
 
 src_configure() {
+       append-cflags -std=gnu89 # old codebase, incompatible with c2x
+
        if use X ;then
                CC="$(tc-getBUILD_CC)" LD="$(tc-getLD)" \
                        IMAKECPP="${IMAKECPP:-${CHOST}-gcc -E}" xmkmf || die

Reply via email to