diff options
author | Ivan Savyhin <bendertron@gmail.com> | 2017-05-29 01:14:20 +1000 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2017-05-29 01:14:50 +1000 |
commit | ae7fdd079f7fcaf1063c609ab3942155f4daf942 (patch) | |
tree | 5351b340ca2cf56de7982d7b051edf26f16b9a98 /x11-themes | |
parent | kde-misc/rsibreak: version bump 0.12.7 (diff) | |
download | gentoo-ae7fdd079f7fcaf1063c609ab3942155f4daf942.tar.gz gentoo-ae7fdd079f7fcaf1063c609ab3942155f4daf942.tar.bz2 gentoo-ae7fdd079f7fcaf1063c609ab3942155f4daf942.zip |
x11-themes/qtcurve: add patch to fix build with glibc-2.23
Gentoo-bug: 606564
Package-Manager: Portage-2.3.5, Repoman-2.3.2
Diffstat (limited to 'x11-themes')
-rw-r--r-- | x11-themes/qtcurve/files/qtcurve-1.8.18-glibc-2.23.patch | 13 | ||||
-rw-r--r-- | x11-themes/qtcurve/qtcurve-1.8.18-r1.ebuild | 3 |
2 files changed, 15 insertions, 1 deletions
diff --git a/x11-themes/qtcurve/files/qtcurve-1.8.18-glibc-2.23.patch b/x11-themes/qtcurve/files/qtcurve-1.8.18-glibc-2.23.patch new file mode 100644 index 000000000000..06a27d5a8854 --- /dev/null +++ b/x11-themes/qtcurve/files/qtcurve-1.8.18-glibc-2.23.patch @@ -0,0 +1,13 @@ +--- a/lib/utils/color.h.orig 2017-02-16 00:55:24.000000000 +0300 ++++ b/lib/utils/color.h 2017-02-16 01:00:40.176467232 +0300 +@@ -25,6 +25,10 @@ + + #include <math.h> + ++#if __cplusplus >= 201103L && (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 23)) ++#include <cmath> ++#endif ++ + #include "utils.h" + #include "options.h" + diff --git a/x11-themes/qtcurve/qtcurve-1.8.18-r1.ebuild b/x11-themes/qtcurve/qtcurve-1.8.18-r1.ebuild index 7eee61a30f2b..7a9617a62d99 100644 --- a/x11-themes/qtcurve/qtcurve-1.8.18-r1.ebuild +++ b/x11-themes/qtcurve/qtcurve-1.8.18-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2016 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -50,6 +50,7 @@ PATCHES=( "${FILESDIR}/${P}-remove_qt_filedialog_api.patch" "${FILESDIR}/${P}-gtk2_segfault.patch" "${FILESDIR}/${P}-std_isnan.patch" + "${FILESDIR}/${P}-glibc-2.23.patch" ) pkg_setup() { |