M7350/oe-core/meta/recipes-devtools/python/python3/150-fix-setupterm.patch
2024-09-09 08:57:42 +00:00

18 lines
470 B
Diff

Fix warning with newer compiler
-Khem
Upstream-Status: Pending
--- a/Modules/_cursesmodule.c
+++ b/Modules/_cursesmodule.c
@@ -116,7 +116,7 @@ char *PyCursesVersion = "2.2";
#defines many common symbols (such as "lines") which breaks the
curses module in other ways. So the code will just specify
explicit prototypes here. */
-extern int setupterm(char *,int,int *);
+//extern int setupterm(char *,int,int *);
#ifdef __sgi
#include <term.h>
#endif