summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Popov <pinkbyte@gentoo.org>2017-01-13 10:52:54 +0300
committerSergey Popov <pinkbyte@gentoo.org>2017-01-13 10:52:54 +0300
commit451f1d2d7939a478b65dd108297f1f86e832b147 (patch)
tree54e69573f544c975648e5af24f0ae41cd2bb5ef2 /x11-themes
parentdev-ruby/rails-dom-testing: add 1.0.8 (diff)
downloadgentoo-451f1d2d7939a478b65dd108297f1f86e832b147.tar.gz
gentoo-451f1d2d7939a478b65dd108297f1f86e832b147.tar.bz2
gentoo-451f1d2d7939a478b65dd108297f1f86e832b147.zip
x11-themes/qtcurve: fix isnan patch - set namespace for isnan call explicitly
Package-Manager: portage-2.3.3
Diffstat (limited to 'x11-themes')
-rw-r--r--x11-themes/qtcurve/files/qtcurve-1.8.18-std_isnan.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/x11-themes/qtcurve/files/qtcurve-1.8.18-std_isnan.patch b/x11-themes/qtcurve/files/qtcurve-1.8.18-std_isnan.patch
index bd7f7223a4bd..1064d2026894 100644
--- a/x11-themes/qtcurve/files/qtcurve-1.8.18-std_isnan.patch
+++ b/x11-themes/qtcurve/files/qtcurve-1.8.18-std_isnan.patch
@@ -16,7 +16,7 @@ index 2c7081f..37d83b5 100644
} else if (amount >= 1.0) {
return *col;
- } else if (isnan(amount)) {
-+ } else if (isnan(amount)) {
++ } else if (std::isnan(amount)) {
return *base;
}
const QtcColor qtc_base = {base->redF(), base->greenF(), base->blueF()};
@@ -25,7 +25,7 @@ index 2c7081f..37d83b5 100644
} else if (bias >= 1.0) {
return *c2;
- } else if (isnan(bias)) {
-+ } else if (isnan(bias)) {
++ } else if (std::isnan(bias)) {
return *c1;
}
const QtcColor qtc_c1 = {c1->redF(), c1->greenF(), c1->blueF()};