Closes: https://bugs.gentoo.org/671768
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: David Seifert <soap@gentoo.org>
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
inherit flag-o-matic
PATCHES=(
"${FILESDIR}"/${P}-iostream.patch #527658
"${FILESDIR}"/${P}-boost-ver-check.patch #548310
+ "${FILESDIR}"/${P}-boost-1.67.patch #671768
)
src_configure() {
--- /dev/null
+https://bugs.gentoo.org/671768
+
+--- a/src/cc/progressbar.h
++++ b/src/cc/progressbar.h
+@@ -316,7 +316,7 @@ private:
+
+ static inline std::string eta_from_seconds(const double s)
+ {
+- const pt::time_duration& td = pt::seconds(s);
++ const pt::time_duration& td = pt::seconds(long(s));
+ return pt::to_simple_string(td);
+ }
+