x11-themes/qtcurve: fix isnan patch - set namespace for isnan call explicitly
authorSergey Popov <pinkbyte@gentoo.org>
Fri, 13 Jan 2017 07:52:54 +0000 (10:52 +0300)
committerSergey Popov <pinkbyte@gentoo.org>
Fri, 13 Jan 2017 07:52:54 +0000 (10:52 +0300)
Package-Manager: portage-2.3.3

x11-themes/qtcurve/files/qtcurve-1.8.18-std_isnan.patch

index bd7f7223a4bd7aece98e025d87708f17be845d32..1064d2026894d387fce3b992ffe7868c796ca24e 100644 (file)
@@ -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()};