monero: rebuild against boost-1.69.0

This commit is contained in:
John 2018-12-12 12:13:09 +01:00 committed by maxice8
parent b76cb6fa09
commit 48cf908019
No known key found for this signature in database
GPG key ID: 543B9D4F4299F06B
2 changed files with 23 additions and 1 deletions

View file

@ -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;
}
}

View file

@ -1,7 +1,7 @@
# Template file for 'monero'
pkgname=monero
version=0.13.0.4
revision=2
revision=3
conf_files="/etc/monerod.conf"
build_style=cmake
hostmakedepends="pkg-config qt5-host-tools"