Fix build with GCC 10.0
This commit is contained in:
parent
743d9b39e5
commit
69b0a891c3
|
@ -0,0 +1,12 @@
|
|||
diff -Nrup a/ext/yahttp/yahttp/reqresp.cpp b/ext/yahttp/yahttp/reqresp.cpp
|
||||
--- a/ext/yahttp/yahttp/reqresp.cpp 2019-02-07 12:24:13.000000000 -0700
|
||||
+++ b/ext/yahttp/yahttp/reqresp.cpp 2019-11-06 19:40:29.039325844 -0700
|
||||
@@ -2,6 +2,8 @@
|
||||
|
||||
namespace YaHTTP {
|
||||
|
||||
+ template class AsyncLoader<Request>;
|
||||
+
|
||||
bool isspace(char c) {
|
||||
return std::isspace(c) != 0;
|
||||
}
|
|
@ -3,12 +3,13 @@
|
|||
|
||||
Name: pdns
|
||||
Version: 4.2.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-gcc10.patch
|
||||
|
||||
Requires(pre): shadow-utils
|
||||
Requires(post): systemd-units
|
||||
|
@ -132,7 +133,8 @@ This package contains the ixfrdist program.
|
|||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1 -b .disable-secpoll
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
export CPPFLAGS="-DLDAP_DEPRECATED"
|
||||
|
@ -306,6 +308,9 @@ exit 0
|
|||
%{_unitdir}/ixfrdist@.service
|
||||
|
||||
%changelog
|
||||
* Mon Jan 27 2020 Morten Stevens <mstevens@fedoraproject.org> - 4.2.1-3
|
||||
- Fix build with GCC 10.0
|
||||
|
||||
* Thu Dec 19 2019 Orion Poplawski <orion@nwra.com> - 4.2.1-2
|
||||
- Rebuild for protobuf 3.11
|
||||
|
||||
|
|
Loading…
Reference in New Issue