From a19c738309658f3e2b12592150e10e94b63a66e9 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Wed, 30 Apr 2014 11:01:30 +0000 Subject: mingw-w64-headers: Update location to use BNP, not PN (drop nativesdk prefix) Signed-off-by: Richard Purdie --- .../mingw-w64/mingw-w64-headers/epsilon.patch | 16 ++++++++++++++++ .../mingw-w64/nativesdk-mingw-w64-headers/epsilon.patch | 16 ---------------- 2 files changed, 16 insertions(+), 16 deletions(-) create mode 100644 recipes-devtools/mingw-w64/mingw-w64-headers/epsilon.patch delete mode 100644 recipes-devtools/mingw-w64/nativesdk-mingw-w64-headers/epsilon.patch diff --git a/recipes-devtools/mingw-w64/mingw-w64-headers/epsilon.patch b/recipes-devtools/mingw-w64/mingw-w64-headers/epsilon.patch new file mode 100644 index 0000000..10213ee --- /dev/null +++ b/recipes-devtools/mingw-w64/mingw-w64-headers/epsilon.patch @@ -0,0 +1,16 @@ +mpfr 3.1.2 references these symbols and fails if they're not defined. + +Index: mingw-w64-headers/crt/float.h +=================================================================== +--- mingw-w64-headers/crt.orig/float.h 2012-07-17 11:03:12.000000000 +0000 ++++ mingw-w64-headers/crt/float.h 2013-08-13 08:23:20.000000000 +0000 +@@ -111,6 +111,9 @@ + #define FLT_ROUNDS 1 + + #define _FLOAT_H___ ++ ++ #define DBL_EPSILON __DBL_EPSILON__ ++ #define FLT_EPSILON __FLT_EPSILON__ + #endif + #endif + #endif diff --git a/recipes-devtools/mingw-w64/nativesdk-mingw-w64-headers/epsilon.patch b/recipes-devtools/mingw-w64/nativesdk-mingw-w64-headers/epsilon.patch deleted file mode 100644 index 10213ee..0000000 --- a/recipes-devtools/mingw-w64/nativesdk-mingw-w64-headers/epsilon.patch +++ /dev/null @@ -1,16 +0,0 @@ -mpfr 3.1.2 references these symbols and fails if they're not defined. - -Index: mingw-w64-headers/crt/float.h -=================================================================== ---- mingw-w64-headers/crt.orig/float.h 2012-07-17 11:03:12.000000000 +0000 -+++ mingw-w64-headers/crt/float.h 2013-08-13 08:23:20.000000000 +0000 -@@ -111,6 +111,9 @@ - #define FLT_ROUNDS 1 - - #define _FLOAT_H___ -+ -+ #define DBL_EPSILON __DBL_EPSILON__ -+ #define FLT_EPSILON __FLT_EPSILON__ - #endif - #endif - #endif -- cgit v1.2.3-54-g00ecf