From 33e4bb679b952810e177f26a56971dc3cd4a4bc6 Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Mon, 22 Oct 2018 20:30:29 +0000 Subject: net-p2p/monero-cli: unbreak with boost 1.69 src/cryptonote_basic/miner.cpp:640:25: error: assigning to 'bool' from incompatible type 'boost::logic::tribool' on_ac_power = !battery_powered; ^~~~~~~~~~~~~~~~ PR: 232525 --- net-p2p/monero-cli/files/patch-boost-1.69 | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 net-p2p/monero-cli/files/patch-boost-1.69 (limited to 'net-p2p') diff --git a/net-p2p/monero-cli/files/patch-boost-1.69 b/net-p2p/monero-cli/files/patch-boost-1.69 new file mode 100644 index 000000000000..ba9af9b4de7b --- /dev/null +++ b/net-p2p/monero-cli/files/patch-boost-1.69 @@ -0,0 +1,13 @@ +https://github.com/monero-project/monero/issues/4695 + +--- src/cryptonote_basic/miner.cpp.orig 2018-10-09 21:04:07 UTC ++++ src/cryptonote_basic/miner.cpp +@@ -637,7 +637,7 @@ namespace cryptonote + boost::tribool battery_powered(on_battery_power()); + if(!indeterminate( battery_powered )) + { +- on_ac_power = !battery_powered; ++ on_ac_power = bool{!battery_powered}; + } + } + -- cgit v1.2.3