From 5c76e4f542eaf6691aefb17f7cea3e9ced3cb5ef Mon Sep 17 00:00:00 2001 From: Morten Stevens Date: Mon, 23 Jan 2023 15:15:41 +0100 Subject: [PATCH] Fix missing include for gcc13 --- pdns-gcc13.patch | 21 +++++++++++++++++++++ pdns.spec | 8 ++++++-- 2 files changed, 27 insertions(+), 2 deletions(-) create mode 100644 pdns-gcc13.patch diff --git a/pdns-gcc13.patch b/pdns-gcc13.patch new file mode 100644 index 0000000..c94e745 --- /dev/null +++ b/pdns-gcc13.patch @@ -0,0 +1,21 @@ +From d8b4ea24dc5dbe7c53c24bfffba24bcae7f58e02 Mon Sep 17 00:00:00 2001 +From: Peter van Dijk +Date: Mon, 23 Jan 2023 14:54:09 +0100 +Subject: [PATCH] lock.hh: include + +--- + pdns/lock.hh | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/pdns/lock.hh b/pdns/lock.hh +index e8bd82988da..a08951a266d 100644 +--- a/pdns/lock.hh ++++ b/pdns/lock.hh +@@ -22,6 +22,7 @@ + #pragma once + #include + #include ++#include + + /* + This file provides several features around locks: diff --git a/pdns.spec b/pdns.spec index a5c1a0a..4c673f3 100644 --- a/pdns.spec +++ b/pdns.spec @@ -3,11 +3,12 @@ Name: pdns Version: 4.7.2 -Release: 3%{?dist} +Release: 4%{?dist} Summary: A modern, advanced and high performance authoritative-only nameserver License: GPLv2 URL: http://powerdns.com Source0: http://downloads.powerdns.com/releases/%{name}-%{version}.tar.bz2 +Patch0: pdns-gcc13.patch ExcludeArch: %{arm} %{ix86} Requires(pre): shadow-utils @@ -138,7 +139,7 @@ BuildRequires: yaml-cpp-devel This package contains the ixfrdist program. %prep -%autosetup +%autosetup -p1 %build export CPPFLAGS="-DLDAP_DEPRECATED" @@ -320,6 +321,9 @@ exit 0 %{_unitdir}/ixfrdist@.service %changelog +* Mon Jan 23 2023 Morten Stevens - 4.7.2-4 +- Fix missing include for gcc13 + * Thu Jan 19 2023 Fedora Release Engineering - 4.7.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild