git: 87313826065e - main - dns/dnsdist: fix build on armv7
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 22 Oct 2025 13:56:59 UTC
The branch main has been updated by fuz:
URL: https://cgit.FreeBSD.org/ports/commit/?id=87313826065ebbd5becb35395ab81c8917a366a5
commit 87313826065ebbd5becb35395ab81c8917a366a5
Author: Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2025-10-20 17:16:37 +0000
Commit: Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2025-10-22 13:56:46 +0000
dns/dnsdist: fix build on armv7
Approved by: Ralf van der Enden <tremere@cainites.net> (maintainer)
PR: 290267
MFH: 2025Q4
---
dns/dnsdist/files/patch-dnsdist-configuration-yaml.cc | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/dns/dnsdist/files/patch-dnsdist-configuration-yaml.cc b/dns/dnsdist/files/patch-dnsdist-configuration-yaml.cc
new file mode 100644
index 000000000000..29ed9db27fdc
--- /dev/null
+++ b/dns/dnsdist/files/patch-dnsdist-configuration-yaml.cc
@@ -0,0 +1,11 @@
+--- dnsdist-configuration-yaml.cc.orig 2025-10-20 17:09:15 UTC
++++ dnsdist-configuration-yaml.cc
+@@ -1145,7 +1145,7 @@ bool loadConfigurationFromFile(const std::string& file
+
+ for (const auto& cache : globalConfig.packet_caches) {
+ DNSDistPacketCache::CacheSettings settings{
+- .d_maxEntries = cache.size,
++ .d_maxEntries = static_cast<size_t>(cache.size),
+ .d_maxTTL = cache.max_ttl,
+ .d_minTTL = cache.min_ttl,
+ .d_tempFailureTTL = cache.temporary_failure_ttl,