diff --git a/packages/mingw-w64/v10.0.0/0000-mingw64-malloc.patch b/packages/mingw-w64/v10.0.0/0000-mingw64-malloc.patch
new file mode 100644
index 00000000..8e0add1f
--- /dev/null
+++ b/packages/mingw-w64/v10.0.0/0000-mingw64-malloc.patch
@@ -0,0 +1,30 @@
+---
+ mingw-w64-tools/genidl/src/genidl_cfg.h     |    2 ++
+ mingw-w64-tools/genidl/src/genidl_typinfo.c |    3 +++
+ 2 files changed, 5 insertions(+)
+
+--- 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>
+ 
diff --git a/packages/mingw-w64/v10.0.0/chksum b/packages/mingw-w64/v10.0.0/chksum
new file mode 100644
index 00000000..3776a79d
--- /dev/null
+++ b/packages/mingw-w64/v10.0.0/chksum
@@ -0,0 +1,8 @@
+md5 mingw-w64-v10.0.0.tar.bz2 5ed260db61f48fe1fc16298786b18d62
+sha1 mingw-w64-v10.0.0.tar.bz2 56143558d81dae7628a232ca7582b947e65392b1
+sha256 mingw-w64-v10.0.0.tar.bz2 ba6b430aed72c63a3768531f6a3ffc2b0fde2c57a3b251450dcf489a894f0894
+sha512 mingw-w64-v10.0.0.tar.bz2 3c0827af7c40809a867758f6cd9ef3ff0c988b43082345bf725e03949af95968d634ace99a7ffae323189549221dcb5d861de9e801f1fbc7904e446641b60516
+md5 mingw-w64-v10.0.0.zip c71137668495c853dd638aab9717a908
+sha1 mingw-w64-v10.0.0.zip 6ed72f7f6a21bb641f5f50c4d05bcf328c45e432
+sha256 mingw-w64-v10.0.0.zip 44c031a29e60720fe7aae5a4c7f88997fe4e233e978004a858b2af5a25d021cb
+sha512 mingw-w64-v10.0.0.zip aa2a96c7a9bbdb766d8cd65a720d7d78816eca82d62d871375532365291cde47fc8687e2cc1a584b5cd9427fd242e35451e8a0cd12203abaef2cdacefd16396d
diff --git a/packages/mingw-w64/v10.0.0/version.desc b/packages/mingw-w64/v10.0.0/version.desc
new file mode 100644
index 00000000..e69de29b