From 8a96209b69b2915507def95bdc88c15bdd8f70b2 Mon Sep 17 00:00:00 2001 From: lancethepants Date: Wed, 12 May 2021 08:40:52 -0600 Subject: Update MinGW to version 8.0.2. Adds support for gcc11. Signed-off-by: Lance Fredrickson --- .../mingw-w64/v8.0.2/0000-mingw64-malloc.patch | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 packages/mingw-w64/v8.0.2/0000-mingw64-malloc.patch (limited to 'packages/mingw-w64/v8.0.2/0000-mingw64-malloc.patch') diff --git a/packages/mingw-w64/v8.0.2/0000-mingw64-malloc.patch b/packages/mingw-w64/v8.0.2/0000-mingw64-malloc.patch new file mode 100644 index 00000000..835be631 --- /dev/null +++ b/packages/mingw-w64/v8.0.2/0000-mingw64-malloc.patch @@ -0,0 +1,29 @@ +--- + mingw-w64-tools/genidl/src/genidl_cfg.h | 2 ++ + mingw-w64-tools/genidl/src/genidl_typinfo.c | 3 +++ + 2 files changed, 5 insertions(+), 0 deletions(-) + +--- a/mingw-w64-tools/genidl/src/genidl_cfg.h ++++ b/mingw-w64-tools/genidl/src/genidl_cfg.h +@@ -26,7 +26,9 @@ + #include + #include + #include ++#if defined(HAVE_MALLOC_H) + #include ++#endif + #include + #include + #include +--- a/mingw-w64-tools/genidl/src/genidl_typinfo.c ++++ b/mingw-w64-tools/genidl/src/genidl_typinfo.c +@@ -21,7 +21,10 @@ + #include "genidl_cfg.h" + #include "genidl_typeinfo.h" + #include "genidl_typinfo.h" ++#if defined(HAVE_MALLOC_H) + #include ++#endif ++#include + #include + #include -- cgit v1.2.3