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 E9C1B15800F for ; Mon, 23 Jan 2023 02:40:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2D14CE077C; Mon, 23 Jan 2023 02:40:13 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 1049AE07E6 for ; Mon, 23 Jan 2023 02:40:13 +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 3D1DC340D00 for ; Mon, 23 Jan 2023 02:40:12 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 99A1A88A for ; Mon, 23 Jan 2023 02:40:10 +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: <1674441176.a60d56a96360ed046267f3919467d0527ba9da99.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-p2p/litecoind/, net-p2p/litecoind/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-p2p/litecoind/files/litecoind-0.18.1-gcc12.patch net-p2p/litecoind/litecoind-0.18.1-r1.ebuild X-VCS-Directories: net-p2p/litecoind/ net-p2p/litecoind/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: a60d56a96360ed046267f3919467d0527ba9da99 X-VCS-Branch: master Date: Mon, 23 Jan 2023 02:40:10 +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: b990b429-f73c-49d0-943f-56cfdac2c1c2 X-Archives-Hash: 209d412ea51e8e4605d95c6ff03b592f commit: a60d56a96360ed046267f3919467d0527ba9da99 Author: Sam James gentoo org> AuthorDate: Mon Jan 23 02:24:15 2023 +0000 Commit: Sam James gentoo org> CommitDate: Mon Jan 23 02:32:56 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a60d56a9 net-p2p/litecoind: fix build w/ gcc 12 Closes: https://bugs.gentoo.org/888605 Signed-off-by: Sam James gentoo.org> .../litecoind/files/litecoind-0.18.1-gcc12.patch | 22 ++++++++++++++++++++++ net-p2p/litecoind/litecoind-0.18.1-r1.ebuild | 7 +++++-- 2 files changed, 27 insertions(+), 2 deletions(-) diff --git a/net-p2p/litecoind/files/litecoind-0.18.1-gcc12.patch b/net-p2p/litecoind/files/litecoind-0.18.1-gcc12.patch new file mode 100644 index 000000000000..12bc5c7b2b1d --- /dev/null +++ b/net-p2p/litecoind/files/litecoind-0.18.1-gcc12.patch @@ -0,0 +1,22 @@ +https://bugs.gentoo.org/888605 +--- a/src/bench/block_assemble.cpp ++++ b/src/bench/block_assemble.cpp +@@ -22,6 +22,7 @@ + + #include + #include ++#include + + static std::shared_ptr PrepareBlock(const CScript& coinbase_scriptPubKey) + { +--- a/src/net_processing.cpp ++++ b/src/net_processing.cpp +@@ -29,6 +29,7 @@ + #include + #include + #include ++#include + + #include + + diff --git a/net-p2p/litecoind/litecoind-0.18.1-r1.ebuild b/net-p2p/litecoind/litecoind-0.18.1-r1.ebuild index 7dd0e1ddb9f3..23dcc99ddf88 100644 --- a/net-p2p/litecoind/litecoind-0.18.1-r1.ebuild +++ b/net-p2p/litecoind/litecoind-0.18.1-r1.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=7 @@ -33,7 +33,10 @@ RDEPEND=" upnp? ( net-libs/miniupnpc:= )" DEPEND="${RDEPEND}" -PATCHES=( "${FILESDIR}"/${P}-system-leveldb.patch ) +PATCHES=( + "${FILESDIR}"/${P}-system-leveldb.patch + "${FILESDIR}"/${P}-gcc12.patch +) src_prepare() { default