summaryrefslogtreecommitdiff
path: root/packages/mingw-w64/v7.0.0/0000-mingw64-malloc.patch
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2019-12-24 01:14:26 (GMT)
committerAlexey Neyman <stilor@att.net>2019-12-26 02:30:23 (GMT)
commit1768ae413f3f9d345736fb1d2efda31aff93b36c (patch)
treed228d2edb8a2c86b55517de9e2743dfe6d023e4c /packages/mingw-w64/v7.0.0/0000-mingw64-malloc.patch
parentc0cca1a6542febe2a5267e586f04a7653c5e2bf6 (diff)
Version updates
bison, elf2flt, gcc, isl, linux, mingw-w64, strace. Adjust checksum ordering in uclibc-ng so that it matches what the script generates. Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'packages/mingw-w64/v7.0.0/0000-mingw64-malloc.patch')
-rw-r--r--packages/mingw-w64/v7.0.0/0000-mingw64-malloc.patch58
1 files changed, 58 insertions, 0 deletions
diff --git a/packages/mingw-w64/v7.0.0/0000-mingw64-malloc.patch b/packages/mingw-w64/v7.0.0/0000-mingw64-malloc.patch
new file mode 100644
index 0000000..f19e8ce
--- /dev/null
+++ b/packages/mingw-w64/v7.0.0/0000-mingw64-malloc.patch
@@ -0,0 +1,58 @@
+---
+ mingw-w64-tools/genidl/src/genidl_cfg.h | 2 ++
+ mingw-w64-tools/genidl/src/genidl_typinfo.c | 3 +++
+ mingw-w64-tools/widl/include/pathtools.h | 3 +--
+ mingw-w64-tools/widl/src/pathtools.c | 3 +--
+ 4 files changed, 7 insertions(+), 4 deletions(-)
+
+--- a/mingw-w64-tools/genidl/src/genidl_cfg.h
++++ b/mingw-w64-tools/genidl/src/genidl_cfg.h
+@@ -26,7 +26,9 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <string.h>
++#if defined(HAVE_MALLOC_H)
+ #include <malloc.h>
++#endif
+ #include <memory.h>
+ #include <stdarg.h>
+ #include <stdint.h>
+--- 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 <malloc.h>
++#endif
++#include <stdlib.h>
+ #include <string.h>
+ #include <memory.h>
+
+--- a/mingw-w64-tools/widl/include/pathtools.h
++++ b/mingw-w64-tools/widl/include/pathtools.h
+@@ -12,9 +12,8 @@
+ #define PATHTOOLS_H
+
+ #include <unistd.h>
+-#if defined(__APPLE__)
+ #include <stdlib.h>
+-#else
++#if defined(HAVE_MALLOC_H)
+ #include <malloc.h>
+ #endif
+ #include <stdio.h>
+--- a/mingw-w64-tools/widl/src/pathtools.c
++++ b/mingw-w64-tools/widl/src/pathtools.c
+@@ -8,9 +8,8 @@
+ .email: <mingw.android@gmail.com>.
+ */
+
+-#if defined(__APPLE__)
+ #include <stdlib.h>
+-#else
++#if defined(HAVE_MALLOC_H)
+ #include <malloc.h>
+ #endif
+ #include <limits.h>