File 0020-Do-not-define-copysign-which-will-break-compiling-gd.patch of Package mingw64-python3

From 7fe1bd3be6d6488de0aaf9387780e4a3bd2ce352 Mon Sep 17 00:00:00 2001
From: Ralf Habacker <ralf.habacker@freenet.de>
Date: Wed, 19 Oct 2022 18:00:19 +0200
Subject: [PATCH] Do not define copysign, which will break compiling gdb

---
 cmake/config-mingw/pyconfig.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/cmake/config-mingw/pyconfig.h b/cmake/config-mingw/pyconfig.h
index 5af0378..ea1bc4e 100644
--- a/cmake/config-mingw/pyconfig.h
+++ b/cmake/config-mingw/pyconfig.h
@@ -124,7 +124,6 @@ WIN32 is still required for the locale module.
 #define Py_IS_NAN _isnan
 #define Py_IS_INFINITY(X) (!_finite(X) && !_isnan(X))
 #define Py_IS_FINITE(X) _finite(X)
-#define copysign _copysign
 
 #include <basetsd.h>
 
-- 
2.34.1

openSUSE Build Service is sponsored by