Fix missing #include for gcc-11
This commit is contained in:
parent
2642cf4bf5
commit
e66ad320c6
9
pdns-gcc11.patch
Normal file
9
pdns-gcc11.patch
Normal 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>
|
@ -3,13 +3,14 @@
|
|||||||
|
|
||||||
Name: pdns
|
Name: pdns
|
||||||
Version: 4.3.1
|
Version: 4.3.1
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: A modern, advanced and high performance authoritative-only nameserver
|
Summary: A modern, advanced and high performance authoritative-only nameserver
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
URL: http://powerdns.com
|
URL: http://powerdns.com
|
||||||
Source0: http://downloads.powerdns.com/releases/%{name}-%{version}.tar.bz2
|
Source0: http://downloads.powerdns.com/releases/%{name}-%{version}.tar.bz2
|
||||||
Patch0: pdns-disable-secpoll.patch
|
Patch0: pdns-disable-secpoll.patch
|
||||||
Patch1: pdns-boost173.patch
|
Patch1: pdns-boost173.patch
|
||||||
|
Patch2: pdns-gcc11.patch
|
||||||
|
|
||||||
Requires(pre): shadow-utils
|
Requires(pre): shadow-utils
|
||||||
Requires(post): systemd-units
|
Requires(post): systemd-units
|
||||||
@ -314,6 +315,9 @@ chmod 640 %{_sysconfdir}/%{name}/%{name}.conf
|
|||||||
%{_unitdir}/ixfrdist@.service
|
%{_unitdir}/ixfrdist@.service
|
||||||
|
|
||||||
%changelog
|
%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
|
* Thu Sep 24 2020 Adrian Reber <adrian@lisas.de> - 4.3.1-2
|
||||||
- Rebuilt for protobuf 3.13
|
- Rebuilt for protobuf 3.13
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user