diff options
Diffstat (limited to 'meta/recipes-devtools/python/python3/150-fix-setupterm.patch')
-rw-r--r-- | meta/recipes-devtools/python/python3/150-fix-setupterm.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/meta/recipes-devtools/python/python3/150-fix-setupterm.patch b/meta/recipes-devtools/python/python3/150-fix-setupterm.patch new file mode 100644 index 0000000000..78d7c78670 --- /dev/null +++ b/meta/recipes-devtools/python/python3/150-fix-setupterm.patch | |||
@@ -0,0 +1,17 @@ | |||
1 | Fix warning with newer compiler | ||
2 | |||
3 | -Khem | ||
4 | |||
5 | Upstream-Status: Pending | ||
6 | |||
7 | --- a/Modules/_cursesmodule.c | ||
8 | +++ b/Modules/_cursesmodule.c | ||
9 | @@ -116,7 +116,7 @@ char *PyCursesVersion = "2.2"; | ||
10 | #defines many common symbols (such as "lines") which breaks the | ||
11 | curses module in other ways. So the code will just specify | ||
12 | explicit prototypes here. */ | ||
13 | -extern int setupterm(char *,int,int *); | ||
14 | +//extern int setupterm(char *,int,int *); | ||
15 | #ifdef __sgi | ||
16 | #include <term.h> | ||
17 | #endif | ||