summaryrefslogtreecommitdiffstats
path: root/desktop/adwaita-qt/isnan_compile_fix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/adwaita-qt/isnan_compile_fix.patch')
-rw-r--r--desktop/adwaita-qt/isnan_compile_fix.patch21
1 files changed, 0 insertions, 21 deletions
diff --git a/desktop/adwaita-qt/isnan_compile_fix.patch b/desktop/adwaita-qt/isnan_compile_fix.patch
deleted file mode 100644
index 1e862372c6..0000000000
--- a/desktop/adwaita-qt/isnan_compile_fix.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-diff -up adwaita-qt-0.97/style/adwaitahelper.h.orig adwaita-qt-0.97/style/adwaitahelper.h
---- adwaita-qt-0.97/style/adwaitahelper.h.orig 2017-02-04 20:20:45.831715084 -0600
-+++ adwaita-qt-0.97/style/adwaitahelper.h 2017-02-04 20:21:30.195712810 -0600
-@@ -33,7 +33,7 @@
- #include <xcb/xcb.h>
- #endif
-
--#include <math.h>
-+#include <cmath>
-
- namespace Adwaita
- {
-@@ -69,7 +69,7 @@ namespace Adwaita
-
- if (bias <= 0.0) return c1;
- if (bias >= 1.0) return c2;
-- if (isnan(bias)) return c1;
-+ if (std::isnan(bias)) return c1;
-
- qreal r = mixQreal(c1.redF(), c2.redF(), bias);
- qreal g = mixQreal(c1.greenF(), c2.greenF(), bias);