summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/python/python3/150-fix-setupterm.patch
blob: 78d7c7867019de058b2d85421b4bc3080847c553 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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