mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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
This commit is contained in:
committed by
Michael Palimaka
parent
0ac2bf0895
commit
ae7fdd079f
13
x11-themes/qtcurve/files/qtcurve-1.8.18-glibc-2.23.patch
Normal file
13
x11-themes/qtcurve/files/qtcurve-1.8.18-glibc-2.23.patch
Normal file
@@ -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"
|
||||
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user