diff options
author | David Seifert <soap@gentoo.org> | 2019-04-16 14:22:08 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2019-04-16 14:22:08 +0200 |
commit | da442affb5ea63f6989760662a1346793948c57e (patch) | |
tree | d34be580ff28ce2dbe25b7cc9147a153d66150e2 /media-video | |
parent | Revert "dev-libs/boost: Remove old" (diff) | |
download | gentoo-da442affb5ea63f6989760662a1346793948c57e.tar.gz gentoo-da442affb5ea63f6989760662a1346793948c57e.tar.bz2 gentoo-da442affb5ea63f6989760662a1346793948c57e.zip |
media-video/cclive: Fix building against boost 1.70
Closes: https://bugs.gentoo.org/671768
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/cclive/cclive-0.9.3-r2.ebuild | 5 | ||||
-rw-r--r-- | media-video/cclive/files/cclive-0.9.3-boost-1.67.patch | 13 |
2 files changed, 16 insertions, 2 deletions
diff --git a/media-video/cclive/cclive-0.9.3-r2.ebuild b/media-video/cclive/cclive-0.9.3-r2.ebuild index 36533f233014..208372b4da9d 100644 --- a/media-video/cclive/cclive-0.9.3-r2.ebuild +++ b/media-video/cclive/cclive-0.9.3-r2.ebuild @@ -1,7 +1,7 @@ -# 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 @@ -27,6 +27,7 @@ DEPEND="${RDEPEND} PATCHES=( "${FILESDIR}"/${P}-iostream.patch #527658 "${FILESDIR}"/${P}-boost-ver-check.patch #548310 + "${FILESDIR}"/${P}-boost-1.67.patch #671768 ) src_configure() { diff --git a/media-video/cclive/files/cclive-0.9.3-boost-1.67.patch b/media-video/cclive/files/cclive-0.9.3-boost-1.67.patch new file mode 100644 index 000000000000..7eecb491a5b5 --- /dev/null +++ b/media-video/cclive/files/cclive-0.9.3-boost-1.67.patch @@ -0,0 +1,13 @@ +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); + } + |