pypy3.10/010-fix-pointers.patch
Charalampos Stratakis 2dc28a0aee Fix FTBFS with GCC 14 due to incompatible pointers
- Fixes: rhbz#2261539
2024-03-20 17:25:04 +01:00

26 lines
1.1 KiB
Diff

From 2d689b133337084a6f00982462b58486bf6bd3a4 Mon Sep 17 00:00:00 2001
From: mattip <matti.picus@gmail.com>
Date: Tue, 19 Mar 2024 08:45:03 +0200
Subject: [PATCH] fix 'const' in signature of Tcl_Merge (issue 4926)
---
lib_pypy/_tkinter/tklib_build.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib_pypy/_tkinter/tklib_build.py b/lib_pypy/_tkinter/tklib_build.py
index 0e4e93c..44c1d10 100644
--- a/lib_pypy/_tkinter/tklib_build.py
+++ b/lib_pypy/_tkinter/tklib_build.py
@@ -171,7 +171,7 @@ int Tcl_ListObjGetElements(Tcl_Interp *interp, Tcl_Obj *listPtr, int *objcPtr, T
int Tcl_ListObjLength(Tcl_Interp* interp, Tcl_Obj* listPtr, int* intPtr);
int Tcl_ListObjIndex(Tcl_Interp* interp, Tcl_Obj* listPtr, int index, Tcl_Obj** objPtrPtr);
int Tcl_SplitList(Tcl_Interp* interp, char* list, int* argcPtr, const char*** argvPtr);
-char* Tcl_Merge(int argc, char** argv);
+char* Tcl_Merge(int argc, const char * const* argv);
int Tcl_Eval(Tcl_Interp* interp, const char* script);
int Tcl_EvalFile(Tcl_Interp* interp, const char* filename);
--
2.43.2