From b1fffcc63233affe26710b8bf62e4f4961621ab8 Mon Sep 17 00:00:00 2001 From: Jaap Akkerhuis Date: Sun, 13 Mar 2022 08:38:29 +0100 Subject: [PATCH] dns/dnsjit: Fix build issues on 13-STABLE and newer versions PR: 261274 Approved by: Leo Vandewoestijne (maintainer timeout, 7+ weeks) --- dns/dnsjit/files/patch-src_output_dnscli.c | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 dns/dnsjit/files/patch-src_output_dnscli.c diff --git a/dns/dnsjit/files/patch-src_output_dnscli.c b/dns/dnsjit/files/patch-src_output_dnscli.c new file mode 100644 index 000000000000..b4c8c8294359 --- /dev/null +++ b/dns/dnsjit/files/patch-src_output_dnscli.c @@ -0,0 +1,20 @@ +--- src/output/dnscli.c.orig 2022-01-04 14:44:42 UTC ++++ src/output/dnscli.c +@@ -331,7 +331,7 @@ static void _receive_udp(output_dnscli_t* self, const + self->errs++; + } + +-inline ssize_t _send_tcp(output_dnscli_t* self, const uint8_t* payload, size_t len, size_t sent) ++ssize_t _send_tcp(output_dnscli_t* self, const uint8_t* payload, size_t len, size_t sent) + { + ssize_t n; + +@@ -432,7 +432,7 @@ static void _receive_tcp(output_dnscli_t* self, const + self->errs++; + } + +-inline ssize_t _send_tls(output_dnscli_t* self, const uint8_t* payload, size_t len, size_t sent) ++ssize_t _send_tls(output_dnscli_t* self, const uint8_t* payload, size_t len, size_t sent) + { + ssize_t n; +