commit:     de6e15a3a58b3c749db3e3e40a06c8b8af9c57d5
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 11 08:24:36 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=de6e15a3

net-analyzer/pathload: 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>

 net-analyzer/pathload/pathload-1.3.2-r1.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/net-analyzer/pathload/pathload-1.3.2-r1.ebuild 
b/net-analyzer/pathload/pathload-1.3.2-r1.ebuild
index b8e220379490..c2fbec052f5d 100644
--- a/net-analyzer/pathload/pathload-1.3.2-r1.ebuild
+++ b/net-analyzer/pathload/pathload-1.3.2-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit toolchain-funcs
+inherit flag-o-matic toolchain-funcs
 
 DESCRIPTION="Non-intrusive utility for estimation of available bandwidth of 
Internet paths"
 
HOMEPAGE="https://www.cc.gatech.edu/fac/constantinos.dovrolis/bw-est/pathload.html";
@@ -21,6 +21,7 @@ PATCHES=(
 
 src_configure() {
        tc-export CC
+       append-cflags -std=gnu89 # old codebase, incompatible with c2x
 
        default
 }

Reply via email to