dnsdist/fix-build-with-gcc10.patch

13 lines
422 B
Diff

diff -up dnsdist-1.4.0/ext/yahttp/yahttp/reqresp.cpp.orig dnsdist-1.4.0/ext/yahttp/yahttp/reqresp.cpp
--- dnsdist-1.4.0/ext/yahttp/yahttp/reqresp.cpp.orig 2020-02-24 11:00:09.002212621 +0100
+++ dnsdist-1.4.0/ext/yahttp/yahttp/reqresp.cpp 2020-02-24 11:13:04.583572369 +0100
@@ -2,6 +2,8 @@
namespace YaHTTP {
+ template class AsyncLoader<Request>;
+
bool isspace(char c) {
return std::isspace(c) != 0;
}