1
0

101-disable-curses.patch 748 B

1234567891011121314151617181920212223242526272829303132
  1. diff --git a/configure.ac b/configure.ac
  2. index dfd4199..19924d0 100644
  3. --- a/configure.ac
  4. +++ b/configure.ac
  5. @@ -153,15 +153,6 @@ AC_CHECK_LIB([rt], [clock_gettime])
  6. AC_SUBST([LIBRT], [$LIBS])
  7. LIBS=$save_LIBS
  8. -## Curses
  9. -AX_WITH_CURSES
  10. -AC_ARG_VAR(CURSES_LIB, [linker flags for curses library])
  11. -
  12. -save_LIBS=$LIBS
  13. -LIBS="$CURSES_LIB $LIBS"
  14. -AC_CHECK_FUNCS([resizeterm])
  15. -LIBS=$save_LIBS
  16. -
  17. ## Use system implementation, or bundled replacement?
  18. AC_CHECK_FUNCS([strlcpy])
  19. diff --git a/ext/posix/posix.c b/ext/posix/posix.c
  20. index 6019df0..2d75487 100644
  21. --- a/ext/posix/posix.c
  22. +++ b/ext/posix/posix.c
  23. @@ -12,7 +12,6 @@
  24. #include "bit32.c"
  25. #include "ctype.c"
  26. -#include "curses.c"
  27. #include "dirent.c"
  28. #include "errno.c"
  29. #include "fcntl.c"