Control: tags 914056 + patch
Control: tags 914056 + pending
Control: tags 953544 + patch
Control: tags 953544 + pending
--

Dear maintainer,

I've prepared an NMU for cclive (versioned as 0.9.3-0.2) and
uploaded it to DELAYED/2. Please feel free to tell me if I
should cancel it.

--
Regards
Sudip

diff -Nru cclive-0.9.3/debian/changelog cclive-0.9.3/debian/changelog
--- cclive-0.9.3/debian/changelog       2016-02-18 16:30:48.000000000 +0000
+++ cclive-0.9.3/debian/changelog       2021-01-18 20:29:07.000000000 +0000
@@ -1,3 +1,12 @@
+cclive (0.9.3-0.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTBFS with boost 1.67. (Closes: #914056)
+    - Thanks to Giovanni Mascellani.
+    - Rebuild will depend on current libboost packages. (Closes: #953544)
+
+ -- Sudip Mukherjee <sudipm.mukher...@gmail.com>  Mon, 18 Jan 2021 20:29:07 
+0000
+
 cclive (0.9.3-0.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru cclive-0.9.3/debian/patches/fix_ftbfs.patch 
cclive-0.9.3/debian/patches/fix_ftbfs.patch
--- cclive-0.9.3/debian/patches/fix_ftbfs.patch 1970-01-01 01:00:00.000000000 
+0100
+++ cclive-0.9.3/debian/patches/fix_ftbfs.patch 2021-01-18 20:11:41.000000000 
+0000
@@ -0,0 +1,22 @@
+Description: Fix FTBFS with Boost 1.67
+ In Boost 1.67 parameters passed to time constructors must be
+ integral. This does not change the previos behaviour, since
+ the count was already stored as an integer anyway. The only
+ different is that now the conversion must be explicit.
+
+Author: Giovanni Mascellani <g...@debian.org>
+Bug-Debian: https://bugs.debian.org/914056
+
+---
+
+--- cclive-0.9.3.orig/src/cc/progressbar.h
++++ cclive-0.9.3/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(static_cast<long>(s));
+     return pt::to_simple_string(td);
+   }
+ 
diff -Nru cclive-0.9.3/debian/patches/series cclive-0.9.3/debian/patches/series
--- cclive-0.9.3/debian/patches/series  2016-02-18 16:19:53.000000000 +0000
+++ cclive-0.9.3/debian/patches/series  2021-01-18 20:10:55.000000000 +0000
@@ -1,3 +1,4 @@
 fix-rpath.diff
 gcc5.diff
 fix-FTBFS-missing-includes.patch
+fix_ftbfs.patch

Reply via email to