011-remove-setupterm-definition.patch 361 B

12345678910
  1. --- a/Modules/_cursesmodule.c
  2. +++ b/Modules/_cursesmodule.c
  3. @@ -117,7 +117,6 @@ char *PyCursesVersion = "2.2";
  4. #defines many common symbols (such as "lines") which breaks the
  5. curses module in other ways. So the code will just specify
  6. explicit prototypes here. */
  7. -extern int setupterm(char *,int,int *);
  8. #ifdef __sgi
  9. #include <term.h>
  10. #endif