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 656F315ACFB for ; Wed, 19 Apr 2023 00:34:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 87C7DE08C8; Wed, 19 Apr 2023 00:34:37 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 5517FE08C8 for ; Wed, 19 Apr 2023 00:34:37 +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 56B46335DC1 for ; Wed, 19 Apr 2023 00:34:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C553751F for ; Wed, 19 Apr 2023 00:34:34 +0000 (UTC) From: "Arsen Arsenović" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Arsen Arsenović" Message-ID: <1681863540.61450918ac12732055abb52082fba09837abab8e.arsen@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-dns/dnsdist/, net-dns/dnsdist/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-dns/dnsdist/dnsdist-1.7.3-r1.ebuild net-dns/dnsdist/files/dnsdist-1.7.3-gcc13.patch X-VCS-Directories: net-dns/dnsdist/ net-dns/dnsdist/files/ X-VCS-Committer: arsen X-VCS-Committer-Name: Arsen Arsenović X-VCS-Revision: 61450918ac12732055abb52082fba09837abab8e X-VCS-Branch: master Date: Wed, 19 Apr 2023 00:34:34 +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: 34470b67-837a-4374-b5d5-aa740e977ccc X-Archives-Hash: b1398b853386e0a36f3f3c811120190a commit: 61450918ac12732055abb52082fba09837abab8e Author: Arsen Arsenović gentoo org> AuthorDate: Wed Apr 19 00:10:57 2023 +0000 Commit: Arsen Arsenović gentoo org> CommitDate: Wed Apr 19 00:19:00 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=61450918 net-dns/dnsdist: Fix building on GCC 13 Closes: https://bugs.gentoo.org/895094 Signed-off-by: Arsen Arsenović gentoo.org> net-dns/dnsdist/dnsdist-1.7.3-r1.ebuild | 4 ++ net-dns/dnsdist/files/dnsdist-1.7.3-gcc13.patch | 62 +++++++++++++++++++++++++ 2 files changed, 66 insertions(+) diff --git a/net-dns/dnsdist/dnsdist-1.7.3-r1.ebuild b/net-dns/dnsdist/dnsdist-1.7.3-r1.ebuild index c0ec5088ac0e..72f5311ffcfb 100644 --- a/net-dns/dnsdist/dnsdist-1.7.3-r1.ebuild +++ b/net-dns/dnsdist/dnsdist-1.7.3-r1.ebuild @@ -45,6 +45,10 @@ RDEPEND="acct-group/dnsdist DEPEND="${RDEPEND}" BDEPEND="virtual/pkgconfig" +PATCHES=( + "${FILESDIR}"/"${PN}"-1.7.3-gcc13.patch +) + src_configure() { # bug #822855 append-lfs-flags diff --git a/net-dns/dnsdist/files/dnsdist-1.7.3-gcc13.patch b/net-dns/dnsdist/files/dnsdist-1.7.3-gcc13.patch new file mode 100644 index 000000000000..339887ca4a19 --- /dev/null +++ b/net-dns/dnsdist/files/dnsdist-1.7.3-gcc13.patch @@ -0,0 +1,62 @@ +Altered slightly from upstream counterparts in order to make them apply to +the dist tarball (updated context and filenames to match the dist). + +https://github.com/PowerDNS/pdns/commit/f407319cb7374baf06698786f4f39d431a36a3cc +https://github.com/PowerDNS/pdns/commit/d8b4ea24dc5dbe7c53c24bfffba24bcae7f58e02 + +From d8b4ea24dc5dbe7c53c24bfffba24bcae7f58e02 Mon Sep 17 00:00:00 2001 +From: Peter van Dijk +Date: Mon, 23 Jan 2023 14:54:09 +0100 +Subject: [PATCH] lock.hh: include + +--- + pdns/lock.hh | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/pdns/lock.hh b/pdns/lock.hh +index e8bd82988da..a08951a266d 100644 +--- a/lock.hh ++++ b/lock.hh +@@ -22,6 +22,7 @@ + #pragma once + #include + #include ++#include + + /* + This file provides several features around locks: +From f407319cb7374baf06698786f4f39d431a36a3cc Mon Sep 17 00:00:00 2001 +From: Sander Hoentjen +Date: Mon, 20 Feb 2023 16:51:07 +0100 +Subject: [PATCH] dnsdist-protocols.hh: include + +This fixes building dnsdist with gcc13: +``` +In file included from dnsdist-protocols.cc:26: +dnsdist-protocols.hh:32:8: error: use of enum 'typeenum' without previous declaration + 32 | enum typeenum : uint8_t + | ^~~~~~~~ +dnsdist-protocols.hh:32:19: error: 'uint8_t' was not declared in this scope + 32 | enum typeenum : uint8_t + | ^~~~~~~ +dnsdist-protocols.hh:25:1: note: 'uint8_t' is defined in header ''; did you forget to '#include '? + 24 | #include + +++ |+#include + 25 | #include +``` +--- + pdns/dnsdist-protocols.hh | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/pdns/dnsdist-protocols.hh b/pdns/dnsdist-protocols.hh +index c5c5743908d..bd2a4bb8ad1 100644 +--- a/dnsdist-protocols.hh ++++ b/dnsdist-protocols.hh +@@ -22,6 +22,7 @@ + #pragma once + + #include ++#include + #include + + namespace dnsdist