Ticket #4465: 0001-Remove-duplicated-libs-from-MCLIBS-again.patch

File 0001-Remove-duplicated-libs-from-MCLIBS-again.patch, 974 bytes (added by karlson2k, 18 months ago)

Simplified fix

  • m4.include/mc-with-screen-ncurses.m4

    From bb934833d1621ff50ca68cc9f21bbec1e90255b4 Mon Sep 17 00:00:00 2001
    From: Evgeny Grin <k2k@narod.ru>
    Date: Sun, 21 May 2023 16:16:24 +0300
    Subject: [PATCH] Remove duplicated libs from MCLIBS (again)
    
    Fixed copy-paste error.
    This is a correction for 92ae4c6b2027315d32059e8fed2c601a0dff1070.
    ---
     m4.include/mc-with-screen-ncurses.m4 | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/m4.include/mc-with-screen-ncurses.m4 b/m4.include/mc-with-screen-ncurses.m4
    index 5411ff032..843d044a5 100644
    a b AC_DEFUN([mc_WITH_NCURSES], [ 
    122122            MCLIBS="$LIBS" 
    123123        fi 
    124124        LIBS="$MCLIBS" 
    125         AC_SEARCH_LIBS([stdscr], [tinfow tinfo], [MCLIBS="$MCLIBS $LIBS"], 
     125        AC_SEARCH_LIBS([stdscr], [tinfow tinfo], [], 
    126126                       [AC_MSG_ERROR([Cannot find a library providing stdscr])]) 
    127127        MCLIBS="$LIBS" 
    128128