summaryrefslogtreecommitdiff
path: root/packages/mingw-w64/v2.0.10/100-mingw64-malloc.patch
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2017-08-19 19:43:51 (GMT)
committerGitHub <noreply@github.com>2017-08-19 19:43:51 (GMT)
commit434c205e89f9d4e06d0210ae8504fb6a88a11d00 (patch)
tree5c381b037991f0ef5a46bf539e83122894c84887 /packages/mingw-w64/v2.0.10/100-mingw64-malloc.patch
parent73e8b0b228e29f6cac1b186cbcb7e3d1a47711ac (diff)
parentd26dc5d5f5509232e7bd162baa70697c86307079 (diff)
Merge pull request #803 from stilor/upgrades
Various package upgrades
Diffstat (limited to 'packages/mingw-w64/v2.0.10/100-mingw64-malloc.patch')
-rw-r--r--packages/mingw-w64/v2.0.10/100-mingw64-malloc.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/packages/mingw-w64/v2.0.10/100-mingw64-malloc.patch b/packages/mingw-w64/v2.0.10/100-mingw64-malloc.patch
new file mode 100644
index 0000000..d9d5a61
--- /dev/null
+++ b/packages/mingw-w64/v2.0.10/100-mingw64-malloc.patch
@@ -0,0 +1,27 @@
+diff -urpN mingw-w64-v5.0.1.orig/mingw-w64-tools/genidl/src/genidl_cfg.h mingw-w64-v5.0.1/mingw-w64-tools/genidl/src/genidl_cfg.h
+--- mingw-w64-v5.0.1.orig/mingw-w64-tools/genidl/src/genidl_cfg.h 2017-03-10 16:20:09.000000000 -0800
++++ mingw-w64-v5.0.1/mingw-w64-tools/genidl/src/genidl_cfg.h 2017-03-10 16:25:26.000000000 -0800
+@@ -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>
+diff -urpN mingw-w64-v5.0.1.orig/mingw-w64-tools/genidl/src/genidl_typinfo.c mingw-w64-v5.0.1/mingw-w64-tools/genidl/src/genidl_typinfo.c
+--- mingw-w64-v5.0.1.orig/mingw-w64-tools/genidl/src/genidl_typinfo.c 2017-03-10 16:20:09.000000000 -0800
++++ mingw-w64-v5.0.1/mingw-w64-tools/genidl/src/genidl_typinfo.c 2017-03-10 16:25:49.000000000 -0800
+@@ -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>
+