From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 63D97158020 for ; Thu, 10 Nov 2022 09:10:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8DA17E096D; Thu, 10 Nov 2022 09:10:24 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9BEECE096D for ; Thu, 10 Nov 2022 09:10:23 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B703A33D0AF for ; Thu, 10 Nov 2022 09:10:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F144F609 for ; Thu, 10 Nov 2022 09:10:20 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1668071211.b7347f602b97d59931c7f42987b277a1757ef7bb.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-dns/nsd/files/, net-dns/nsd/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-dns/nsd/files/nsd-4.6.1-incompatible-ptr-types.patch net-dns/nsd/nsd-4.6.1-r1.ebuild net-dns/nsd/nsd-4.6.1.ebuild X-VCS-Directories: net-dns/nsd/ net-dns/nsd/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: b7347f602b97d59931c7f42987b277a1757ef7bb X-VCS-Branch: master Date: Thu, 10 Nov 2022 09:10:20 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 14e11a66-b9da-48e1-8017-b4cbc31d8c1e X-Archives-Hash: 35a80d3b3884b4adc19ef2237c6be049 commit: b7347f602b97d59931c7f42987b277a1757ef7bb Author: Sam James gentoo org> AuthorDate: Thu Nov 10 09:06:51 2022 +0000 Commit: Sam James gentoo org> CommitDate: Thu Nov 10 09:06:51 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7347f60 net-dns/nsd: fix -Wincompatible-pointer-types Signed-off-by: Sam James gentoo.org> .../files/nsd-4.6.1-incompatible-ptr-types.patch | 24 ++++++++++++++++++++++ .../nsd/{nsd-4.6.1.ebuild => nsd-4.6.1-r1.ebuild} | 1 + 2 files changed, 25 insertions(+) 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" +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 */ + } + + diff --git a/net-dns/nsd/nsd-4.6.1.ebuild b/net-dns/nsd/nsd-4.6.1-r1.ebuild similarity index 98% rename from net-dns/nsd/nsd-4.6.1.ebuild rename to net-dns/nsd/nsd-4.6.1-r1.ebuild index d3d5d3b51e9d..07c863ace2f5 100644 --- a/net-dns/nsd/nsd-4.6.1.ebuild +++ b/net-dns/nsd/nsd-4.6.1-r1.ebuild @@ -51,6 +51,7 @@ BDEPEND=" PATCHES=( # Fix the paths in the munin plugin to match our install "${FILESDIR}"/nsd_munin_.patch + "${FILESDIR}"/${P}-incompatible-ptr-types.patch ) src_prepare() {