From 09351e78166b5e864197c4456ebae3f89dd0bed9 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 22 Jan 2019 10:09:44 +0000 Subject: gentoo resync : 22.01.2019 --- .../files/pdns-recursor-4.1.9-protobuf-fix.patch | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 net-dns/pdns-recursor/files/pdns-recursor-4.1.9-protobuf-fix.patch (limited to 'net-dns/pdns-recursor/files') diff --git a/net-dns/pdns-recursor/files/pdns-recursor-4.1.9-protobuf-fix.patch b/net-dns/pdns-recursor/files/pdns-recursor-4.1.9-protobuf-fix.patch new file mode 100644 index 000000000000..b0e3f4f5cef4 --- /dev/null +++ b/net-dns/pdns-recursor/files/pdns-recursor-4.1.9-protobuf-fix.patch @@ -0,0 +1,32 @@ +From 6b34c39dce4483f97d48201929ff6acd4abbef84 Mon Sep 17 00:00:00 2001 +From: Remi Gacogne +Date: Mon, 21 Jan 2019 16:07:29 +0100 +Subject: [PATCH] rec: Fix compilation in handleRunningTCPQuestion without + protobuf support + +--- + pdns/pdns_recursor.cc | 4 +++- + 1 file changed, 3 insertions(+), 1 deletion(-) + +diff --git a/pdns_recursor.cc b/pdns_recursor.cc +index d92b1ffae..98232dca2 100644 +--- a/pdns_recursor.cc ++++ b/pdns_recursor.cc +@@ -1535,6 +1535,9 @@ static void handleRunningTCPQuestion(int fd, FDMultiplexer::funcparam_t& var) + L<data; ++ + #ifdef HAVE_PROTOBUF + if(luaconfsLocal->protobufServer || luaconfsLocal->outgoingProtobufServer) { + dc->d_requestorId = requestorId; +@@ -1542,7 +1545,6 @@ static void handleRunningTCPQuestion(int fd, FDMultiplexer::funcparam_t& var) + dc->d_uuid = (*t_uuidGenerator)(); + } + +- const struct dnsheader* dh = (const struct dnsheader*) conn->data; + if(luaconfsLocal->protobufServer) { + try { + -- cgit v1.2.3