diff --git a/src/auto/configure b/src/auto/configure index 9c9a719d81..41b29c2623 100755 --- a/src/auto/configure +++ b/src/auto/configure @@ -12106,7 +12106,7 @@ if test "x$olibs" = "x$LIBS"; then $as_echo_n "checking for tgetent()... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ - +int tgetent(char *, const char *); int main () { diff --git a/src/configure.ac b/src/configure.ac index 19ce4c7a5f..598d73c8df 100644 --- a/src/configure.ac +++ b/src/configure.ac @@ -3510,7 +3510,7 @@ fi if test "x$olibs" = "x$LIBS"; then AC_MSG_CHECKING([for tgetent()]) - AC_TRY_LINK([], + AC_TRY_LINK([int tgetent(char *, const char *);], [char s[10000]; int res = tgetent(s, "thisterminaldoesnotexist");], AC_MSG_RESULT(yes), AC_MSG_ERROR([NOT FOUND! diff --git a/src/version.c b/src/version.c index fb641589bf..d8dfba87b0 100644 --- a/src/version.c +++ b/src/version.c @@ -754,6 +754,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1310, /**/ 1309, /**/