summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2022-10-11 04:24:36 -0400
committerIonen Wolkens <ionen@gentoo.org>2022-10-11 04:56:01 -0400
commitde6e15a3a58b3c749db3e3e40a06c8b8af9c57d5 (patch)
tree27e61658114ee8e26e78e6ded1ab369a3046f16d /net-analyzer/pathload
parentmedia-sound/aseqview: pass -std=gnu89 (diff)
downloadgentoo-de6e15a3a58b3c749db3e3e40a06c8b8af9c57d5.tar.gz
gentoo-de6e15a3a58b3c749db3e3e40a06c8b8af9c57d5.tar.bz2
gentoo-de6e15a3a58b3c749db3e3e40a06c8b8af9c57d5.zip
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@gentoo.org>
Diffstat (limited to 'net-analyzer/pathload')
-rw-r--r--net-analyzer/pathload/pathload-1.3.2-r1.ebuild3
1 files changed, 2 insertions, 1 deletions
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
}