Ticket #4464: 0001-FTBFS-without-ext2fs-attributes-support-alt.patch

File 0001-FTBFS-without-ext2fs-attributes-support-alt.patch, 898 bytes (added by karlson2k, 12 months ago)

Alternative fix

  • src/filemanager/info.c

    From b64ef97e774381145a4b9be8652bff122d693965 Mon Sep 17 00:00:00 2001
    From: Evgeny Grin <k2k@narod.ru>
    Date: Sun, 21 May 2023 14:06:39 +0300
    Subject: [PATCH] FTBFS without ext2fs attributes support
    
    ---
     src/filemanager/info.c | 4 ++++
     1 file changed, 4 insertions(+)
    
    diff --git a/src/filemanager/info.c b/src/filemanager/info.c
    index 99d15848b..257a5391f 100644
    a b info_show_info (WInfo * info) 
    259259    case 6: 
    260260        widget_gotoyx (w, 6, 3); 
    261261 
     262#ifdef ENABLE_EXT2FS_ATTR 
    262263        { 
    263264            vfs_path_t *vpath; 
    264265            unsigned long attr; 
    info_show_info (WInfo * info) 
    272273 
    273274            vfs_path_free (vpath, TRUE); 
    274275        } 
     276#else 
     277        tty_print_string (_("Attributes: unavailable")); 
     278#endif 
    275279        MC_FALLTHROUGH; 
    276280    case 5: 
    277281        widget_gotoyx (w, 5, 3);