Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Oct 2018 20:30:29 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r482788 - head/net-p2p/monero-cli/files
Message-ID:  <201810222030.w9MKUTq3098097@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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};
+         }
+       }
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201810222030.w9MKUTq3098097>