Date: Mon, 27 Apr 2026 00:12:58 +0000 From: Robert Clausecker <fuz@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org Cc: Jaap Akkerhuis <jaap@NLnetLabs.nl> Subject: git: 87ac7d819afb - 2026Q2 - dns/unbound: fix build with swig-4.4.1 Message-ID: <69eeaa0a.1e9ba.71bb318@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch 2026Q2 has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=87ac7d819afb5ef179b037821a90ebba762613c0 commit 87ac7d819afb5ef179b037821a90ebba762613c0 Author: Jaap Akkerhuis <jaap@NLnetLabs.nl> AuthorDate: 2026-04-24 14:37:40 +0000 Commit: Robert Clausecker <fuz@FreeBSD.org> CommitDate: 2026-04-27 00:11:12 +0000 dns/unbound: fix build with swig-4.4.1 This patch to replace a deprecated keyword in unbound.i should fix the problem building with swig-4.4.1 Reported by: Vidar Karlsen <vidar@karlsen.tech> PR: 292625 MFH: 2026Q2 Event: Wiesbaden Hackathon 202604 (cherry picked from commit 082a26ecdfaeb75205ceb9b905118075198282a9) --- dns/unbound/Makefile | 2 +- dns/unbound/files/patch-libunbound_python_libunbound.i | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/dns/unbound/Makefile b/dns/unbound/Makefile index 2e3dec14e73c..8be281ab8996 100644 --- a/dns/unbound/Makefile +++ b/dns/unbound/Makefile @@ -1,6 +1,6 @@ PORTNAME= unbound DISTVERSION= 1.24.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= dns MASTER_SITES= https://www.nlnetlabs.nl/downloads/unbound/ diff --git a/dns/unbound/files/patch-libunbound_python_libunbound.i b/dns/unbound/files/patch-libunbound_python_libunbound.i new file mode 100644 index 000000000000..078e744ab7fd --- /dev/null +++ b/dns/unbound/files/patch-libunbound_python_libunbound.i @@ -0,0 +1,11 @@ +--- libunbound/python/libunbound.i.orig 2026-01-21 12:34:44 UTC ++++ libunbound/python/libunbound.i +@@ -853,7 +853,7 @@ Result: ['74.125.43.147', '74.125.43.99', '74.125.43.1 + %{ + //printf("resolve_start(%lX)\n",(long unsigned int)arg1); + Py_BEGIN_ALLOW_THREADS +- $function ++ $action + Py_END_ALLOW_THREADS + //printf("resolve_stop()\n"); + %}home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69eeaa0a.1e9ba.71bb318>
