Files
MINGW-packages/mingw-w64-python3.13/0162-Fix-exports-for-_suggestions-module.patch
Christoph Reiter 04c9ed3700 python3.13: Add 3.13.7
* add libb2 as dep
* remove "-Wl,--large-address-aware", default now via makepkg
* remove 2to3 logic, no longer in Python
2025-09-08 22:02:30 +02:00

22 lines
606 B
Diff

From d9b6b2a59fbda4a0d007505fe166fcfb46d1cb50 Mon Sep 17 00:00:00 2001
From: Alexey Pavlov <alexpux@gmail.com>
Date: Fri, 5 Sep 2025 15:14:29 +0300
Subject: [PATCH 162/N] Fix exports for _suggestions module
---
Modules/_suggestions.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/Modules/_suggestions.c b/Modules/_suggestions.c
index b8bc6db..d47294d 100644
--- a/Modules/_suggestions.c
+++ b/Modules/_suggestions.c
@@ -1,3 +1,7 @@
+#ifndef Py_BUILD_CORE_BUILTIN
+# define Py_BUILD_CORE_MODULE 1
+#endif
+
#include "Python.h"
#include "pycore_pyerrors.h"
#include "clinic/_suggestions.c.h"