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@gentoo.org>
This commit is contained in:
Sam James
2025-05-28 18:26:51 +01:00
parent 0ea783eda9
commit a0cd6ca950

View File

@@ -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() {