From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-p2p/litecoind/, net-p2p/litecoind/files/
Date: Mon, 23 Jan 2023 02:40:10 +0000 (UTC) [thread overview]
Message-ID: <1674441176.a60d56a96360ed046267f3919467d0527ba9da99.sam@gentoo> (raw)
commit: a60d56a96360ed046267f3919467d0527ba9da99
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 23 02:24:15 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> 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 <sam <AT> 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 <list>
+ #include <vector>
++#include <array>
+
+ static std::shared_ptr<CBlock> PrepareBlock(const CScript& coinbase_scriptPubKey)
+ {
+--- a/src/net_processing.cpp
++++ b/src/net_processing.cpp
+@@ -29,6 +29,7 @@
+ #include <util/system.h>
+ #include <util/moneystr.h>
+ #include <util/strencodings.h>
++#include <array>
+
+ #include <memory>
+
+
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
next reply other threads:[~2023-01-23 2:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-23 2:40 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-06-18 11:26 [gentoo-commits] repo/gentoo:master commit in: net-p2p/litecoind/, net-p2p/litecoind/files/ Sam James
2017-06-02 7:04 David Seifert
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1674441176.a60d56a96360ed046267f3919467d0527ba9da99.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox