summaryrefslogtreecommitdiff
path: root/net-dns/nsd/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-11-10 15:28:02 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-11-10 15:28:02 +0000
commit0d0e3e0adedd9f237ceea9e95cbd0ed29a4576d4 (patch)
treef4f226a7d18e1d67a2f44d24f0485ef3bd630698 /net-dns/nsd/files
parente80777b54c5b430ca044e16878f59a2020423d48 (diff)
gentoo auto-resync : 10:11:2022 - 15:28:02
Diffstat (limited to 'net-dns/nsd/files')
-rw-r--r--net-dns/nsd/files/nsd-4.6.1-incompatible-ptr-types.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/net-dns/nsd/files/nsd-4.6.1-incompatible-ptr-types.patch b/net-dns/nsd/files/nsd-4.6.1-incompatible-ptr-types.patch
new file mode 100644
index 000000000000..4b87be966eb0
--- /dev/null
+++ b/net-dns/nsd/files/nsd-4.6.1-incompatible-ptr-types.patch
@@ -0,0 +1,24 @@
+https://github.com/NLnetLabs/nsd/issues/239
+https://github.com/NLnetLabs/nsd/commit/7162600301205c3c62a1695c0b29e079694b65ae
+
+From 7162600301205c3c62a1695c0b29e079694b65ae Mon Sep 17 00:00:00 2001
+From: "W.C.A. Wijngaards" <wouter@nlnetlabs.nl>
+Date: Thu, 10 Nov 2022 09:47:59 +0100
+Subject: [PATCH] - Fix #239: -Wincompatible-pointer-types warning in remote.c.
+
+--- a/remote.c
++++ b/remote.c
+@@ -1212,8 +1212,11 @@ do_stats(struct daemon_remote* rc, int peek, struct rc_state* rs)
+ /* force a reload */
+ xfrd_set_reload_now(xfrd);
+ #else
++ RES res;
++ res.ssl = rs->ssl;
++ res.fd = rs->fd;
+ (void)rc; (void)peek;
+- (void)ssl_printf(rs->ssl, "error no stats enabled at compile time\n");
++ (void)ssl_printf(&res, "error no stats enabled at compile time\n");
+ #endif /* BIND8_STATS */
+ }
+
+