summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-12-01 14:04:39 +0000
committerSam James <sam@gentoo.org>2024-12-01 14:04:39 +0000
commit4beefebb519c412b864d85cb4698053402078de9 (patch)
treeed6d135526494796ab805788468fbf260a993905 /net-dns
parentnet-analyzer/python-gvm: Stabilize 24.8.0 amd64, #944826 (diff)
downloadgentoo-4beefebb519c412b864d85cb4698053402078de9.tar.gz
gentoo-4beefebb519c412b864d85cb4698053402078de9.tar.bz2
gentoo-4beefebb519c412b864d85cb4698053402078de9.zip
net-dns/dnsmasq: build w/ -std=gnu17
Bug: https://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2024q4/017855.html Closes: https://bugs.gentoo.org/945183 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-dns')
-rw-r--r--net-dns/dnsmasq/dnsmasq-2.90.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/net-dns/dnsmasq/dnsmasq-2.90.ebuild b/net-dns/dnsmasq/dnsmasq-2.90.ebuild
index 107d47dbf6f5..5cf41c4ac93b 100644
--- a/net-dns/dnsmasq/dnsmasq-2.90.ebuild
+++ b/net-dns/dnsmasq/dnsmasq-2.90.ebuild
@@ -5,7 +5,7 @@ EAPI=8
LUA_COMPAT=( lua5-{1..4} luajit )
-inherit toolchain-funcs lua-single systemd
+inherit flag-o-matic toolchain-funcs lua-single systemd
DESCRIPTION="Small forwarding DNS server"
HOMEPAGE="https://thekelleys.org.uk/dnsmasq/doc.html"
@@ -114,6 +114,9 @@ src_prepare() {
}
src_configure() {
+ # https://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2024q4/017855.html (bug #945183)
+ append-cflags -std=gnu17
+
COPTS=(
$(use_have -n auth-dns auth)
$(use_have conntrack)