diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2018-10-22 20:30:29 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2018-10-22 20:30:29 +0000 |
commit | 33e4bb679b952810e177f26a56971dc3cd4a4bc6 (patch) | |
tree | cb126392d3c4bc42fc79fad11e41949dcf26e30e | |
parent | multimedia/mkvtoolnix: unbreak with boost 1.69 (diff) |
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
Notes
Notes:
svn path=/head/; revision=482788
-rw-r--r-- | net-p2p/monero-cli/files/patch-boost-1.69 | 13 |
1 files changed, 13 insertions, 0 deletions
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}; + } + } + |