Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Apr 2026 00:03:07 +0000
From:      Robert Clausecker <fuz@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Cc:        Jaap Akkerhuis <jaap@NLnetLabs.nl>
Subject:   git: 082a26ecdfae - main - dns/unbound: fix build with swig-4.4.1
Message-ID:  <69eea7bb.1e832.2ad1cced@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by fuz:

URL: https://cgit.FreeBSD.org/ports/commit/?id=082a26ecdfaeb75205ceb9b905118075198282a9

commit 082a26ecdfaeb75205ceb9b905118075198282a9
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:01:05 +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
---
 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?69eea7bb.1e832.2ad1cced>