summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2022-10-11 04:24:52 -0400
committerIonen Wolkens <ionen@gentoo.org>2022-10-11 04:56:01 -0400
commit52858718f2e83ab3905c40e1f21b0f0710187235 (patch)
treebf028a1ad570c48390efdd890c8037dbdbe3009e /net-dialup
parentnet-analyzer/pathload: pass -std=gnu89 (diff)
downloadgentoo-52858718f2e83ab3905c40e1f21b0f0710187235.tar.gz
gentoo-52858718f2e83ab3905c40e1f21b0f0710187235.tar.bz2
gentoo-52858718f2e83ab3905c40e1f21b0f0710187235.zip
net-dialup/rp-l2tp: 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-dialup')
-rw-r--r--net-dialup/rp-l2tp/rp-l2tp-0.4-r4.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/net-dialup/rp-l2tp/rp-l2tp-0.4-r4.ebuild b/net-dialup/rp-l2tp/rp-l2tp-0.4-r4.ebuild
index 6c4a2cdd3db7..bba859fe0a26 100644
--- a/net-dialup/rp-l2tp/rp-l2tp-0.4-r4.ebuild
+++ b/net-dialup/rp-l2tp/rp-l2tp-0.4-r4.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit autotools toolchain-funcs
+inherit autotools flag-o-matic toolchain-funcs
DESCRIPTION="User-space implementation of L2TP for Linux and other UNIX systems"
HOMEPAGE="https://sourceforge.net/projects/rp-l2tp/"
@@ -26,6 +26,7 @@ src_prepare() {
eautoreconf #871210
tc-export AR CC
+ append-cflags -std=gnu89 # old codebase, incompatible with c2x
}
src_install() {