diff options
author | David Seifert <soap@gentoo.org> | 2016-11-23 23:03:07 +0100 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2016-11-24 09:33:10 +0100 |
commit | 287901e0f3f506df519d13ddc0aaf5e927456c6f (patch) | |
tree | 9bf1018ad6bd39e457e6d19d23f7071264a3cb72 /sci-libs/arprec/files | |
parent | sci-libs/qd: Remove old (diff) | |
download | gentoo-287901e0f3f506df519d13ddc0aaf5e927456c6f.tar.gz gentoo-287901e0f3f506df519d13ddc0aaf5e927456c6f.tar.bz2 gentoo-287901e0f3f506df519d13ddc0aaf5e927456c6f.zip |
sci-libs/arprec: Version bump to 2.2.18
Gentoo-bug: 593872
* EAPI=6
* [QA] Replace EROOT by EPREFIX
Package-Manager: portage-2.3.2
Diffstat (limited to 'sci-libs/arprec/files')
-rw-r--r-- | sci-libs/arprec/files/arprec-2.2.18-fix-c++14.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sci-libs/arprec/files/arprec-2.2.18-fix-c++14.patch b/sci-libs/arprec/files/arprec-2.2.18-fix-c++14.patch new file mode 100644 index 000000000000..680e921d6807 --- /dev/null +++ b/sci-libs/arprec/files/arprec-2.2.18-fix-c++14.patch @@ -0,0 +1,13 @@ +Fix compiling with C++14, due to changed operator T* -> operator bool semantics. +See also: https://bugs.gentoo.org/show_bug.cgi?id=593872 + +--- a/src/write.cpp ++++ b/src/write.cpp +@@ -196,6 +196,6 @@ + + string str = to_string(precision, width, expn_width, + fmt, showpos, uppercase, fill); +- return (s << str) != 0; ++ return static_cast<bool>(s << str); + } + |