aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p
diff options
context:
space:
mode:
authorjbeich <jbeich@FreeBSD.org>2018-04-19 15:28:27 +0800
committerjbeich <jbeich@FreeBSD.org>2018-04-19 15:28:27 +0800
commitc13b8329e7faf775c0e6cfad079f5c14ef685879 (patch)
treef75d67ff2d0debccd1014fadaedbda49f8501d82 /net-p2p
parent9bc9eac81b2124069384363a942b81b8e192fd02 (diff)
downloadfreebsd-ports-graphics-c13b8329e7faf775c0e6cfad079f5c14ef685879.tar.gz
freebsd-ports-graphics-c13b8329e7faf775c0e6cfad079f5c14ef685879.tar.zst
freebsd-ports-graphics-c13b8329e7faf775c0e6cfad079f5c14ef685879.zip
net-p2p/monero-cli: switch to upstream patch
Diffstat (limited to 'net-p2p')
-rw-r--r--net-p2p/monero-cli/files/patch-boost-1.6757
1 files changed, 17 insertions, 40 deletions
diff --git a/net-p2p/monero-cli/files/patch-boost-1.67 b/net-p2p/monero-cli/files/patch-boost-1.67
index 9471b842faf..e8bc3975feb 100644
--- a/net-p2p/monero-cli/files/patch-boost-1.67
+++ b/net-p2p/monero-cli/files/patch-boost-1.67
@@ -1,50 +1,27 @@
-Regressed by https://github.com/boostorg/thread/commit/fea3e33128aa
+https://github.com/monero-project/monero/pull/3667
-In file included from src/cryptonote_basic/hardfork.cpp:33:
-In file included from src/blockchain_db/blockchain_db.h:42:
-In file included from src/cryptonote_basic/hardfork.h:31:
-contrib/epee/include/syncobj.h:37:10: fatal error: 'boost/thread/v2/thread.hpp' file not found
-#include <boost/thread/v2/thread.hpp>
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
-In file included from src/rpc/daemon_handler.cpp:29:
-In file included from src/rpc/daemon_handler.h:36:
-In file included from src/p2p/net_node.h:41:
-In file included from contrib/epee/include/net/levin_server_cp2.h:32:
-In file included from contrib/epee/include/net/abstract_tcp_server2.h:324:
-contrib/epee/include/net/abstract_tcp_server2.inl:44:10: fatal error: 'boost/thread/v2/thread.hpp' file not found
-#include <boost/thread/v2/thread.hpp> // TODO
- ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
-
---- contrib/epee/include/syncobj.h.orig 2018-03-24 15:56:14 UTC
-+++ contrib/epee/include/syncobj.h
-@@ -34,7 +34,13 @@
- #include <boost/thread/locks.hpp>
- #include <boost/thread/mutex.hpp>
- #include <boost/thread/recursive_mutex.hpp>
-+
-+#include <boost/version.hpp>
-+#if BOOST_VERSION < 106700
- #include <boost/thread/v2/thread.hpp>
-+#else
-+#include <boost/thread/condition_variable.hpp>
-+#endif
-
- namespace epee
- {
--- contrib/epee/include/net/abstract_tcp_server2.inl.orig 2018-03-24 15:56:14 UTC
+++ contrib/epee/include/net/abstract_tcp_server2.inl
-@@ -41,7 +41,14 @@
+@@ -41,7 +41,7 @@
#include <boost/utility/value_init.hpp>
#include <boost/asio/deadline_timer.hpp>
#include <boost/date_time/posix_time/posix_time.hpp> // TODO
-+
-+#include <boost/version.hpp>
-+#if BOOST_VERSION < 106700
- #include <boost/thread/v2/thread.hpp> // TODO
-+#else
+-#include <boost/thread/v2/thread.hpp> // TODO
+#include <boost/thread/condition_variable.hpp> // TODO
-+#endif
-+
#include "misc_language.h"
#include "pragma_comp_defs.h"
+--- contrib/epee/include/syncobj.h.orig 2018-03-24 15:56:14 UTC
++++ contrib/epee/include/syncobj.h
+@@ -31,10 +31,10 @@
+ #define __WINH_OBJ_H__
+
+ #include <boost/chrono/duration.hpp>
++#include <boost/thread/condition_variable.hpp>
+ #include <boost/thread/locks.hpp>
+ #include <boost/thread/mutex.hpp>
+ #include <boost/thread/recursive_mutex.hpp>
+-#include <boost/thread/v2/thread.hpp>
+
+ namespace epee
+ {