[arch-commits] Commit in cclive/trunk (PKGBUILD boost-1.67.patch)
Evangelos Foutras
foutrelis at archlinux.org
Sat Jun 2 23:29:21 UTC 2018
Date: Saturday, June 2, 2018 @ 23:29:20
Author: foutrelis
Revision: 338492
Fix build with boost 1.67
Added:
cclive/trunk/boost-1.67.patch
Modified:
cclive/trunk/PKGBUILD
------------------+
PKGBUILD | 5 ++++-
boost-1.67.patch | 12 ++++++++++++
2 files changed, 16 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-06-02 23:07:09 UTC (rev 338491)
+++ PKGBUILD 2018-06-02 23:29:20 UTC (rev 338492)
@@ -14,10 +14,12 @@
makedepends=('boost')
source=("http://downloads.sourceforge.net/project/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"{,.sig}
iostream.patch
+ boost-1.67.patch
boost.m4) # https://github.com/tsuna/boost.m4
sha512sums=('0d8f6f870e24e2906542c1e02745009597fca2e879261bef7a81e07f8dec016ee200d8a4b37dd0f20b3ad27c12e2445fed1f6a9dc262a6c27e40222048bb5438'
'SKIP'
'dc6fb068d153e91c03533830e6d87bb292109e192b9fff7003a23fbe3ab5a786fee52a0f522788b5715511be0de55deed1b4a9b2369ac6d239074ec099e0e893'
+ '8897a535aaa7d8acf3eea07f0e172423d59ec7ff051dbfc096661162649b589b23795f326aad7fa6370aad3174ec5b7e2125424d0425cff425f3dfa3ca660c9d'
'fe459153907224948888dd6cf6d04b780867595e5e70661d50e3fc2976149f716b807c71d5bfed61566b069bddc955838fdcf441ba5110bea9b2bbaac5b99c84')
validpgpkeys=('E220FCFF9EADBA326FD6B23BBF1D59CCAD00BE50') # Toni Gundogdu
@@ -28,7 +30,8 @@
cp $srcdir/boost.m4 m4/
autoconf
- patch -p1 -i $srcdir/iostream.patch
+ patch -Np1 -i ../iostream.patch
+ patch -Np1 -i ../boost-1.67.patch
}
build() {
Added: boost-1.67.patch
===================================================================
--- boost-1.67.patch (rev 0)
+++ boost-1.67.patch 2018-06-02 23:29:20 UTC (rev 338492)
@@ -0,0 +1,12 @@
+diff -upr cclive-0.9.3.orig/src/cc/progressbar.h cclive-0.9.3/src/cc/progressbar.h
+--- cclive-0.9.3.orig/src/cc/progressbar.h 2013-11-23 11:46:27.000000000 +0200
++++ cclive-0.9.3/src/cc/progressbar.h 2018-06-03 02:23:36.603414837 +0300
+@@ -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);
+ }
+
More information about the arch-commits
mailing list