summarylogtreecommitdiffstats
path: root/0050-gdbm-module-includes.patch
diff options
context:
space:
mode:
authoratomlong2021-10-23 17:55:22 +0800
committeratomlong2021-10-23 18:06:15 +0800
commit80096c8de4b34ec1ed8f30bb428918cd592b2424 (patch)
treeb48dd1e73de9ea35a4709fb6b93deb16331ec514 /0050-gdbm-module-includes.patch
parent89a67c05174951d172252b1db96ff93cc4ec4bcd (diff)
downloadaur-mingw-w64-python.tar.gz
update to 3.9.7
Diffstat (limited to '0050-gdbm-module-includes.patch')
-rw-r--r--0050-gdbm-module-includes.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/0050-gdbm-module-includes.patch b/0050-gdbm-module-includes.patch
new file mode 100644
index 000000000000..ce5f06ab6a5e
--- /dev/null
+++ b/0050-gdbm-module-includes.patch
@@ -0,0 +1,30 @@
+From 34ca4e0b61ce539fee85e283e71d147d4035ae72 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?=D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B5=D0=B9?=
+ <alexey.pawlow@gmail.com>
+Date: Thu, 17 Jun 2021 18:52:02 +0530
+Subject: [PATCH 050/N] gdbm module includes
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Co-authored-by: Алексей <alexey.pawlow@gmail.com>
+---
+ Modules/_gdbmmodule.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/Modules/_gdbmmodule.c b/Modules/_gdbmmodule.c
+index dd4c6b1..d51015c 100644
+--- a/Modules/_gdbmmodule.c
++++ b/Modules/_gdbmmodule.c
+@@ -11,7 +11,7 @@
+ #include <fcntl.h>
+ #include "gdbm.h"
+
+-#if defined(WIN32) && !defined(__CYGWIN__)
++#if defined(WIN32) && !defined(__CYGWIN__) && !defined(__MINGW32__)
+ #include "gdbmerrno.h"
+ extern const char * gdbm_strerror(gdbm_error);
+ #endif
+--
+2.33.0
+