Commit based upon d6442850bde61f0c3e7e2ae3247b4a856073c5e0
[librecmc/package-feed.git] / lang / luaposix / patches / 101-disable-curses.patch
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  
9 -## Curses
10 -AX_WITH_CURSES
11 -AC_ARG_VAR(CURSES_LIB, [linker flags for curses library])
12 -
13 -save_LIBS=$LIBS
14 -LIBS="$CURSES_LIB $LIBS"
15 -AC_CHECK_FUNCS([resizeterm])
16 -LIBS=$save_LIBS
17 -
18  ## Use system implementation, or bundled replacement?
19  AC_CHECK_FUNCS([strlcpy])
20  
21 diff --git a/ext/posix/posix.c b/ext/posix/posix.c
22 index 6019df0..2d75487 100644
23 --- a/ext/posix/posix.c
24 +++ b/ext/posix/posix.c
25 @@ -12,7 +12,6 @@
26  
27  #include "bit32.c"
28  #include "ctype.c"
29 -#include "curses.c"
30  #include "dirent.c"
31  #include "errno.c"
32  #include "fcntl.c"