From a0cd6ca9506ce5259f8e473840a18ee326d30196 Mon Sep 17 00:00:00 2001 From: Sam James Date: Wed, 28 May 2025 18:26:51 +0100 Subject: [PATCH] net-dns/maradns: enable py3.13, py3.14; use edo; gnu17 * Enable py3.13, py3.14 * Use edo for homebrew configure * Use -std=gnu17 (fixed upstream in master, though) Closes: https://bugs.gentoo.org/952579 Closes: https://bugs.gentoo.org/945182 Signed-off-by: Sam James --- net-dns/maradns/maradns-3.5.0036.ebuild | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/net-dns/maradns/maradns-3.5.0036.ebuild b/net-dns/maradns/maradns-3.5.0036.ebuild index 1df50eeb4595e..27d75d73b359b 100644 --- a/net-dns/maradns/maradns-3.5.0036.ebuild +++ b/net-dns/maradns/maradns-3.5.0036.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{10..12} ) -inherit flag-o-matic python-any-r1 systemd toolchain-funcs +PYTHON_COMPAT=( python3_{11..14} ) +inherit edo flag-o-matic python-any-r1 systemd toolchain-funcs DESCRIPTION="A security-aware DNS server" HOMEPAGE="https://maradns.samiam.org" @@ -29,14 +29,19 @@ PATCHES=( src_configure() { # -Werror=lto-type-mismatch - # https://bugs.gentoo.org/861293 + # bug #861293 # https://github.com/samboy/MaraDNS/discussions/124 # # should be fixed in git master; try removing this on the next bump filter-lto + # bug #945182 + # https://github.com/samboy/MaraDNS/commit/1cbc02668ee88788e6fb75c774c7e9210d6d52ee + append-flags -std=gnu17 + tc-export CC - ./configure --ipv6 || die "Failed to configure" + + edo ./configure --ipv6 } src_install() {