To: vim_dev@googlegroups.com Subject: Patch 8.2.1310 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.1310 Problem: Configure with Xcode 12 fails to check for tgetent. Solution: Declare tgetent(). (Ozaki Kiichi, closes #6558) Files: src/configure.ac, src/auto/configure *** ../vim-8.2.1309/src/configure.ac 2020-07-02 22:50:33.239087475 +0200 --- src/configure.ac 2020-07-28 20:38:02.367349729 +0200 *************** *** 3510,3516 **** if test "x$olibs" = "x$LIBS"; then AC_MSG_CHECKING([for tgetent()]) ! AC_TRY_LINK([], [char s[10000]; int res = tgetent(s, "thisterminaldoesnotexist");], AC_MSG_RESULT(yes), AC_MSG_ERROR([NOT FOUND! --- 3510,3516 ---- if test "x$olibs" = "x$LIBS"; then AC_MSG_CHECKING([for tgetent()]) ! 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! *** ../vim-8.2.1309/src/auto/configure 2020-07-02 22:50:33.243087452 +0200 --- src/auto/configure 2020-07-28 20:39:43.814968252 +0200 *************** *** 12106,12112 **** $as_echo_n "checking for tgetent()... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ ! int main () { --- 12106,12112 ---- $as_echo_n "checking for tgetent()... " >&6; } cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ ! int tgetent(char *, const char *); int main () { *** ../vim-8.2.1309/src/version.c 2020-07-28 20:25:43.830309906 +0200 --- src/version.c 2020-07-28 20:39:39.822983416 +0200 *************** *** 756,757 **** --- 756,759 ---- { /* Add new patch number below this line */ + /**/ + 1310, /**/ -- From "know your smileys": (X0||) Double hamburger with lettuce and tomato /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///