Fix missing #include for gcc-11

This commit is contained in:
Jeff Law 2020-12-05 08:31:18 -07:00
parent 2642cf4bf5
commit e66ad320c6
2 changed files with 14 additions and 1 deletions

9
pdns-gcc11.patch Normal file
View File

@ -0,0 +1,9 @@
diff --git a/pdns/lua-record.cc b/pdns/lua-record.cc
index f7f3ef0..70a961b 100644
--- a/pdns/lua-record.cc
+++ b/pdns/lua-record.cc
@@ -1,3 +1,4 @@
+#include <thread>
#include <future>
#include <mutex>
#include <boost/format.hpp>

View File

@ -3,13 +3,14 @@
Name: pdns
Version: 4.3.1
Release: 2%{?dist}
Release: 3%{?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-disable-secpoll.patch
Patch1: pdns-boost173.patch
Patch2: pdns-gcc11.patch
Requires(pre): shadow-utils
Requires(post): systemd-units
@ -314,6 +315,9 @@ chmod 640 %{_sysconfdir}/%{name}/%{name}.conf
%{_unitdir}/ixfrdist@.service
%changelog
* Sat Dec 05 2020 Jeff Law <law@redhat.com> - 4.3.1-3
- Fix missing #include for gcc-11
* Thu Sep 24 2020 Adrian Reber <adrian@lisas.de> - 4.3.1-2
- Rebuilt for protobuf 3.13