diff --git a/bind-9.18-zt-include-rwlock.patch b/bind-9.18-zt-include-rwlock.patch new file mode 100644 index 0000000..ebe6a4f --- /dev/null +++ b/bind-9.18-zt-include-rwlock.patch @@ -0,0 +1,27 @@ +From 395d6fca2638129e1cc1f55ee4b3aa0dbba44dc0 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Petr=20Men=C5=A1=C3=ADk?= +Date: Mon, 16 Jan 2023 11:45:31 +0100 +Subject: [PATCH] Include isc_rwlocktype_t type definition in zt.h + +After changes zt.h uses rwlock type, which is not enforced to be always +defined. Ensure full type definition is ready by including appropriate +header. +--- + lib/dns/include/dns/zt.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/lib/dns/include/dns/zt.h b/lib/dns/include/dns/zt.h +index 077b26ddea..037d0a9495 100644 +--- a/lib/dns/include/dns/zt.h ++++ b/lib/dns/include/dns/zt.h +@@ -18,6 +18,7 @@ + #include + + #include ++#include + + #include + +-- +2.39.0 + diff --git a/bind.spec b/bind.spec index 3c58340..2a2dbba 100644 --- a/bind.spec +++ b/bind.spec @@ -101,6 +101,8 @@ Patch16: bind-9.16-redhat_doc.patch Patch22: bind-9.11-fips-tests.patch # https://bugzilla.redhat.com/show_bug.cgi?id=2122010 Patch26: bind-9.18-unittest-netmgr-unstable.patch +# https://gitlab.isc.org/isc-projects/bind9/-/merge_requests/7376/ +Patch27: bind-9.18-zt-include-rwlock.patch %{?systemd_ordering} Requires: coreutils @@ -951,6 +953,7 @@ fi; %changelog * Mon Jan 16 2023 Petr Menšík - 32:9.18.10-1 - Update to 9.18.10 (#2143258) +- Include rwlock.h from dns/zt.h * Mon Nov 21 2022 Petr Menšík - 32:9.18.9-1 - Update to 9.18.9 (#2143258)