commit:     a0cd6ca9506ce5259f8e473840a18ee326d30196
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed May 28 17:26:51 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed May 28 17:26:51 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0cd6ca9

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 <sam <AT> gentoo.org>

 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 1df50eeb4595..27d75d73b359 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() {

Reply via email to