summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Levine <plevine457@gmail.com>2017-05-20 18:08:33 -0400
committerDavid Seifert <soap@gentoo.org>2017-05-26 22:58:32 +0200
commitf635eed0fb02dfd8684afbca47a975913877e117 (patch)
tree763c0b9596d2c553a652d8329a82f72955e4096f /net-p2p/ppcoind/files
parentmail-filter/mapson: Fix building with GCC-6 (diff)
downloadgentoo-f635eed0fb02dfd8684afbca47a975913877e117.tar.gz
gentoo-f635eed0fb02dfd8684afbca47a975913877e117.tar.bz2
gentoo-f635eed0fb02dfd8684afbca47a975913877e117.zip
net-p2p/ppcoind: Fix building with GCC-6
Bug: https://bugs.gentoo.org/show_bug.cgi?id=594404 Package-Manager: Portage-2.3.5, Repoman-2.3.2 Closes: https://github.com/gentoo/gentoo/pull/4691
Diffstat (limited to 'net-p2p/ppcoind/files')
-rw-r--r--net-p2p/ppcoind/files/ppcoind-0.4.0-gcc6.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/net-p2p/ppcoind/files/ppcoind-0.4.0-gcc6.patch b/net-p2p/ppcoind/files/ppcoind-0.4.0-gcc6.patch
new file mode 100644
index 000000000000..76bad3feb5a4
--- /dev/null
+++ b/net-p2p/ppcoind/files/ppcoind-0.4.0-gcc6.patch
@@ -0,0 +1,11 @@
+--- a/src/net.cpp
++++ b/src/net.cpp
+@@ -51,7 +51,7 @@ CAddress addrLocalHost(CService("0.0.0.0", 0), nLocalServices);
+ CAddress addrSeenByPeer(CService("0.0.0.0", 0), nLocalServices);
+ static CNode* pnodeLocalHost = NULL;
+ uint64 nLocalHostNonce = 0;
+-array<int, THREAD_MAX> vnThreadsRunning;
++boost::array<int, THREAD_MAX> vnThreadsRunning;
+ static SOCKET hListenSocket = INVALID_SOCKET;
+ CAddrMan addrman;
+