svn commit: r482788 - head/net-p2p/monero-cli/files
Jan Beich
jbeich at FreeBSD.org
Mon Oct 22 20:30:30 UTC 2018
Author: jbeich
Date: Mon Oct 22 20:30:29 2018
New Revision: 482788
URL: https://svnweb.freebsd.org/changeset/ports/482788
Log:
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
Added:
head/net-p2p/monero-cli/files/patch-boost-1.69 (contents, props changed)
Added: head/net-p2p/monero-cli/files/patch-boost-1.69
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net-p2p/monero-cli/files/patch-boost-1.69 Mon Oct 22 20:30:29 2018 (r482788)
@@ -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};
+ }
+ }
+
More information about the svn-ports-all
mailing list