diff --git a/pdns-gcc11.patch b/pdns-gcc11.patch new file mode 100644 index 0000000..51037d3 --- /dev/null +++ b/pdns-gcc11.patch @@ -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 + #include + #include + #include diff --git a/pdns.spec b/pdns.spec index 2d1b160..89558d8 100644 --- a/pdns.spec +++ b/pdns.spec @@ -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 - 4.3.1-3 +- Fix missing #include for gcc-11 + * Thu Sep 24 2020 Adrian Reber - 4.3.1-2 - Rebuilt for protobuf 3.13