MINGW-packages/mingw-w64-python3.13/0115-socketmodule-fix-captilization-of-headers.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

25 lines
777 B
Diff

From 61f0241643a052b408a869a17e891677a2bc049f Mon Sep 17 00:00:00 2001
From: Naveen M K <naveen521kk@gmail.com>
Date: Sat, 2 Nov 2024 11:30:54 +0530
Subject: [PATCH 115/N] socketmodule: fix captilization of headers
`Rpc` should be `rpc`. It error's out in
cross-compilation.
---
Modules/socketmodule.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c
index 4c9fb92..c7d42ac 100644
--- a/Modules/socketmodule.c
+++ b/Modules/socketmodule.c
@@ -279,7 +279,7 @@ shutdown(how) -- shut down traffic in one or both directions\n\
# endif
/* Helpers needed for AF_HYPERV */
-# include <Rpc.h>
+# include <rpc.h>
/* Macros based on the IPPROTO enum, see: https://bugs.python.org/issue29515 */
#ifdef _MSC_VER