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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A29FD15800F for ; Thu, 26 Jan 2023 07:15:07 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E463CE0817; Thu, 26 Jan 2023 07:15:06 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BDF0AE0817 for ; Thu, 26 Jan 2023 07:15:06 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D5AAA335D64 for ; Thu, 26 Jan 2023 07:15:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5AF5288C for ; Thu, 26 Jan 2023 07:15:04 +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: <1674717291.9b9a67b683e829719607f11e750b08e4d8ce1919.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/capnproto/files/, dev-libs/capnproto/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/capnproto/capnproto-0.10.2.ebuild dev-libs/capnproto/files/capnproto-0.10.2-gcc-13.patch X-VCS-Directories: dev-libs/capnproto/files/ dev-libs/capnproto/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 9b9a67b683e829719607f11e750b08e4d8ce1919 X-VCS-Branch: master Date: Thu, 26 Jan 2023 07:15:04 +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: e992c10a-912d-4957-9a4a-e563b3d54c31 X-Archives-Hash: 1ae6f6b140858e47fbd52d72d2db98d9 commit: 9b9a67b683e829719607f11e750b08e4d8ce1919 Author: Sam James gentoo org> AuthorDate: Thu Jan 26 07:14:38 2023 +0000 Commit: Sam James gentoo org> CommitDate: Thu Jan 26 07:14:51 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b9a67b6 dev-libs/capnproto: fix build w/ gcc 13 Signed-off-by: Sam James gentoo.org> dev-libs/capnproto/capnproto-0.10.2.ebuild | 6 +++++- .../capnproto/files/capnproto-0.10.2-gcc-13.patch | 21 +++++++++++++++++++++ 2 files changed, 26 insertions(+), 1 deletion(-) diff --git a/dev-libs/capnproto/capnproto-0.10.2.ebuild b/dev-libs/capnproto/capnproto-0.10.2.ebuild index 85fd8fe94d06..2c126974f18a 100644 --- a/dev-libs/capnproto/capnproto-0.10.2.ebuild +++ b/dev-libs/capnproto/capnproto-0.10.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -25,6 +25,10 @@ DEPEND="${RDEPEND} test? ( dev-cpp/gtest ) " +PATCHES=( + "${FILESDIR}"/${P}-gcc-13.patch +) + src_configure() { if use arm || use ppc || use mips || [[ ${CHOST} == *i486* ]] ; then # append-libs won't work here, cmake doesn't respect it diff --git a/dev-libs/capnproto/files/capnproto-0.10.2-gcc-13.patch b/dev-libs/capnproto/files/capnproto-0.10.2-gcc-13.patch new file mode 100644 index 000000000000..576e785437da --- /dev/null +++ b/dev-libs/capnproto/files/capnproto-0.10.2-gcc-13.patch @@ -0,0 +1,21 @@ +https://github.com/capnproto/capnproto/commit/1ae1e9990c7603f0dc99e64470f96693f869b00a + +From 1ae1e9990c7603f0dc99e64470f96693f869b00a Mon Sep 17 00:00:00 2001 +From: Heiko Becker +Date: Wed, 25 Jan 2023 23:40:27 +0100 +Subject: [PATCH] Fix build with gcc 13 by including (#1613) + +Like other versions before, gcc 13 moved some includes around and as +a result is no longer transitively included. Explicitly +include it for uint8_t. +--- a/src/kj/string-test.c++ ++++ b/src/kj/string-test.c++ +@@ -24,6 +24,7 @@ + #include + #include "vector.h" + #include ++#include + + namespace kj { + namespace _ { // private +