bitcoin: rebuilt against boost-1.72

This commit is contained in:
John 2020-01-09 22:12:20 +01:00
parent 49e5fe4148
commit cf1fc10410
2 changed files with 25 additions and 1 deletions

View file

@ -0,0 +1,24 @@
From a64e97dd476bda7c7981979d045b0d06d6f7ce47 Mon Sep 17 00:00:00 2001
From: Jan Beich <jbeich@FreeBSD.org>
Date: Mon, 2 Dec 2019 19:55:10 +0000
Subject: [PATCH] wallet: unbreak with boost 1.72
wallet/walletutil.cpp:77:23: error: no member named 'level' in 'boost::filesystem::recursive_directory_iterator'
} else if (it.level() == 0 && it->symlink_status().type() == fs::regular_file && IsBerkeleyBtree(it...
~~ ^
---
src/fs.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/fs.h b/src/fs.h
index c713297d6ef0..8af81f173bdf 100644
--- src/fs.h
+++ src/fs.h
@@ -11,7 +11,6 @@
#include <ext/stdio_filebuf.h>
#endif
-#define BOOST_FILESYSTEM_NO_DEPRECATED
#include <boost/filesystem.hpp>
#include <boost/filesystem/fstream.hpp>

View file

@ -1,7 +1,7 @@
# Template file for 'bitcoin'
pkgname=bitcoin
version=0.19.0.1
revision=1
revision=2
build_style=gnu-configure
configure_args="--with-incompatible-bdb --disable-ccache --disable-static
--enable-hardening --with-boost=${XBPS_CROSS_BASE}/usr"