File unbound_temp_build_fix.patch of Package unbound
diff -uNr unbound.orig/libunbound/python/libunbound.i unbound/libunbound/python/libunbound.i
--- unbound.orig/libunbound/python/libunbound.i 2025-07-11 09:05:49.144482000 +0000
+++ unbound/libunbound/python/libunbound.i 2025-07-11 09:07:17.021483000 +0000
@@ -849,14 +849,14 @@
}
-%exception ub_resolve
-%{
- //printf("resolve_start(%lX)\n",(long unsigned int)arg1);
- Py_BEGIN_ALLOW_THREADS
- $function
- Py_END_ALLOW_THREADS
- //printf("resolve_stop()\n");
-%}
+//%exception ub_resolve
+//%{
+// //printf("resolve_start(%lX)\n",(long unsigned int)arg1);
+// Py_BEGIN_ALLOW_THREADS
+// $function
+// Py_END_ALLOW_THREADS
+// //printf("resolve_stop()\n");
+//%}
%include "libunbound/unbound.h"