monero: rebuild against boost-1.69.0
This commit is contained in:
parent
b76cb6fa09
commit
48cf908019
2 changed files with 23 additions and 1 deletions
|
@ -0,0 +1,22 @@
|
||||||
|
From 3bb4b0d41f76483c4ae4d8d62faa4531049badeb Mon Sep 17 00:00:00 2001
|
||||||
|
From: moneromooo-monero <moneromooo-monero@users.noreply.github.com>
|
||||||
|
Date: Mon, 22 Oct 2018 22:17:15 +0000
|
||||||
|
Subject: [PATCH] miner: fix build with boost 1.69
|
||||||
|
|
||||||
|
---
|
||||||
|
src/cryptonote_basic/miner.cpp | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git src/cryptonote_basic/miner.cpp src/cryptonote_basic/miner.cpp
|
||||||
|
index d0b03593ed..d8ca2dd357 100644
|
||||||
|
--- src/cryptonote_basic/miner.cpp
|
||||||
|
+++ 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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'monero'
|
# Template file for 'monero'
|
||||||
pkgname=monero
|
pkgname=monero
|
||||||
version=0.13.0.4
|
version=0.13.0.4
|
||||||
revision=2
|
revision=3
|
||||||
conf_files="/etc/monerod.conf"
|
conf_files="/etc/monerod.conf"
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
hostmakedepends="pkg-config qt5-host-tools"
|
hostmakedepends="pkg-config qt5-host-tools"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue