components/desktop/webkitgtk4/patches/06-mathutil.patch
author Rich Burridge <rich.burridge@oracle.com>
Tue, 02 May 2017 17:33:26 -0700
changeset 7964 d9801318ed3d
parent 6537 26eef25e017a
permissions -rw-r--r--
25981468 Build ilmbase and openexr with the GNU compilers

Ensure that limits, algorithm, etc. definitions are defined first before
attempting to include debug.h so that appropriate feature tests work as
expected.

file upstream bug

--- webkitgtk-2.8.3/Source/ThirdParty/ANGLE/src/common/mathutil.h	2015-04-08 23:54:00.000000000 -0700
+++ webkitgtk-2.8.3/Source/ThirdParty/ANGLE/src/common/mathutil.h	2015-07-10 21:15:10.772978135 -0700
@@ -9,8 +9,6 @@
 #ifndef LIBGLESV2_MATHUTIL_H_
 #define LIBGLESV2_MATHUTIL_H_
 
-#include "common/debug.h"
-
 #if defined(_WIN32)
 #include <intrin.h>
 #endif
@@ -19,6 +17,8 @@
 #include <algorithm>
 #include <string.h>
 
+#include "common/debug.h"
+
 namespace gl
 {