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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5ABCB139695 for ; Fri, 2 Jun 2017 07:04:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id ABEF6E0C2F; Fri, 2 Jun 2017 07:04:35 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 79877E0B4B for ; Fri, 2 Jun 2017 07:04:35 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 43B0C341787 for ; Fri, 2 Jun 2017 07:04:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E01477471 for ; Fri, 2 Jun 2017 07:04:32 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1496386634.ff8fa3b25d4610c3054fb8a8aad9d2fe7ac6e945.soap@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.10.4.0-gcc6.patch net-p2p/litecoind/litecoind-0.10.4.0.ebuild X-VCS-Directories: net-p2p/litecoind/ net-p2p/litecoind/files/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: ff8fa3b25d4610c3054fb8a8aad9d2fe7ac6e945 X-VCS-Branch: master Date: Fri, 2 Jun 2017 07:04:32 +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-Archives-Salt: a267236e-2064-4690-9c84-93bb6e59df7a X-Archives-Hash: 225c40662c8f89d4da53d8eea9b921c4 commit: ff8fa3b25d4610c3054fb8a8aad9d2fe7ac6e945 Author: Peter Levine gmail com> AuthorDate: Sun May 28 00:20:00 2017 +0000 Commit: David Seifert gentoo org> CommitDate: Fri Jun 2 06:57:14 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff8fa3b2 net-p2p/litecoind: Fix building with GCC-6 Bug: https://bugs.gentoo.org/show_bug.cgi?id=594686 Package-Manager: Portage-2.3.6, Repoman-2.3.2 Closes: https://github.com/gentoo/gentoo/pull/4782 .../litecoind/files/litecoind-0.10.4.0-gcc6.patch | 47 ++++++++++++++++++++++ net-p2p/litecoind/litecoind-0.10.4.0.ebuild | 3 +- 2 files changed, 49 insertions(+), 1 deletion(-) diff --git a/net-p2p/litecoind/files/litecoind-0.10.4.0-gcc6.patch b/net-p2p/litecoind/files/litecoind-0.10.4.0-gcc6.patch new file mode 100644 index 00000000000..5c7e44da3d3 --- /dev/null +++ b/net-p2p/litecoind/files/litecoind-0.10.4.0-gcc6.patch @@ -0,0 +1,47 @@ +From 40ce41c006787dc4a2e3b17f7abbaf8ff56c45e7 Mon Sep 17 00:00:00 2001 +From: Adrian Gallagher +Date: Tue, 25 Oct 2016 17:48:19 -0700 +Subject: [PATCH] Litecoin: Fix build boost compilation error with C++11 + +--- + src/chainparams.cpp | 20 ++++++++++---------- + 1 file changed, 10 insertions(+), 10 deletions(-) + +diff --git a/src/chainparams.cpp b/src/chainparams.cpp +index ba8e33d1c14..7f99e45b7ad 100644 +--- a/src/chainparams.cpp ++++ b/src/chainparams.cpp +@@ -163,11 +163,11 @@ class CMainParams : public CChainParams { + vSeeds.push_back(CDNSSeedData("weminemnc.com", "dnsseed.weminemnc.com")); + vSeeds.push_back(CDNSSeedData("loshan.co.uk", "seed-a.litecoin.loshan.co.uk")); + +- base58Prefixes[PUBKEY_ADDRESS] = list_of(48); +- base58Prefixes[SCRIPT_ADDRESS] = list_of(5); +- base58Prefixes[SECRET_KEY] = list_of(176); +- base58Prefixes[EXT_PUBLIC_KEY] = list_of(0x04)(0x88)(0xB2)(0x1E); +- base58Prefixes[EXT_SECRET_KEY] = list_of(0x04)(0x88)(0xAD)(0xE4); ++ base58Prefixes[PUBKEY_ADDRESS] = std::vector(1,48); ++ base58Prefixes[SCRIPT_ADDRESS] = std::vector(1,5); ++ base58Prefixes[SECRET_KEY] = std::vector(1,176); ++ base58Prefixes[EXT_PUBLIC_KEY] = boost::assign::list_of(0x04)(0x88)(0xB2)(0x1E).convert_to_container >(); ++ base58Prefixes[EXT_SECRET_KEY] = boost::assign::list_of(0x04)(0x88)(0xAD)(0xE4).convert_to_container >(); + + convertSeed6(vFixedSeeds, pnSeed6_main, ARRAYLEN(pnSeed6_main)); + +@@ -225,11 +225,11 @@ class CTestNetParams : public CMainParams { + vSeeds.push_back(CDNSSeedData("xurious.com", "testnet-seed.ltc.xurious.com")); + vSeeds.push_back(CDNSSeedData("wemine-testnet.com", "dnsseed.wemine-testnet.com")); + +- base58Prefixes[PUBKEY_ADDRESS] = list_of(111); +- base58Prefixes[SCRIPT_ADDRESS] = list_of(196); +- base58Prefixes[SECRET_KEY] = list_of(239); +- base58Prefixes[EXT_PUBLIC_KEY] = list_of(0x04)(0x35)(0x87)(0xCF); +- base58Prefixes[EXT_SECRET_KEY] = list_of(0x04)(0x35)(0x83)(0x94); ++ base58Prefixes[PUBKEY_ADDRESS] = std::vector(1,111); ++ base58Prefixes[SCRIPT_ADDRESS] = std::vector(1,196); ++ base58Prefixes[SECRET_KEY] = std::vector(1,239); ++ base58Prefixes[EXT_PUBLIC_KEY] = boost::assign::list_of(0x04)(0x35)(0x87)(0xCF).convert_to_container >(); ++ base58Prefixes[EXT_SECRET_KEY] = boost::assign::list_of(0x04)(0x35)(0x83)(0x94).convert_to_container >(); + + convertSeed6(vFixedSeeds, pnSeed6_test, ARRAYLEN(pnSeed6_test)); + diff --git a/net-p2p/litecoind/litecoind-0.10.4.0.ebuild b/net-p2p/litecoind/litecoind-0.10.4.0.ebuild index b2c9ac6a5f9..f4502b3b319 100644 --- a/net-p2p/litecoind/litecoind-0.10.4.0.ebuild +++ b/net-p2p/litecoind/litecoind-0.10.4.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -45,6 +45,7 @@ src_prepare() { epatch "${FILESDIR}"/0.9.0-sys_leveldb.patch epatch "${FILESDIR}"/litecoind-0.10.2.2-memenv_h.patch epatch "${FILESDIR}"/litecoind-0.10.2.2-fix-gnustack.patch + epatch "${FILESDIR}"/${P}-gcc6.patch eautoreconf rm -r src/leveldb }