diff options
Diffstat (limited to 'net-p2p/monero-cli/files/patch-boost-1.69')
-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}; + } + } + |