diff options
author | Alexandru Ardelean <ardeleanalex@gmail.com> | 2017-02-13 16:10:16 +0200 |
---|---|---|
committer | Alexandru Ardelean <ardeleanalex@gmail.com> | 2017-02-13 18:30:29 +0200 |
commit | 6bfd17e75c8bf751126577d9fb9aca039c274ec1 (patch) | |
tree | b5a0273a2b345dc59321db1324a32cee70c6a43c | |
parent | 278c5c1f1d6bf5006e36add64361dd9835381443 (diff) |
python: remove setupterm() redefinition
It's not 100% aligned with the ncurses' definition.
Reported-by: Arturo Rinaldi <arturo@arduino.org>
Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
-rw-r--r-- | lang/python/patches/011-remove-setupterm-definition.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lang/python/patches/011-remove-setupterm-definition.patch b/lang/python/patches/011-remove-setupterm-definition.patch new file mode 100644 index 000000000..e55d70818 --- /dev/null +++ b/lang/python/patches/011-remove-setupterm-definition.patch @@ -0,0 +1,12 @@ +diff --git a/Modules/_cursesmodule.c b/Modules/_cursesmodule.c +index e478a57..eb297b4 100644 +--- a/Modules/_cursesmodule.c ++++ b/Modules/_cursesmodule.c +@@ -117,7 +117,6 @@ 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 *); + #ifdef __sgi + #include <term.h> + #endif |