From bba7273884452601d22011b08215e254ddbd3c05 Mon Sep 17 00:00:00 2001 From: landry Date: Thu, 10 Oct 2024 13:41:09 +0000 Subject: [PATCH] x11/xarchiver: update to 0.5.4.23. while here add a patch to use gcpio when detecting direct cpio support. if not found if fallbacks to cpio support in 7z. --- x11/xarchiver/Makefile | 3 +-- x11/xarchiver/distinfo | 4 ++-- x11/xarchiver/patches/patch-src_main_c | 12 ++++++++++++ 3 files changed, 15 insertions(+), 4 deletions(-) create mode 100644 x11/xarchiver/patches/patch-src_main_c diff --git a/x11/xarchiver/Makefile b/x11/xarchiver/Makefile index 97b02af7d75..eb46c7c0796 100644 --- a/x11/xarchiver/Makefile +++ b/x11/xarchiver/Makefile @@ -1,7 +1,6 @@ COMMENT = simple archive manager CATEGORIES = x11 archivers -DIST_TUPLE = github ib xarchiver 0.5.4.21 . -REVISION = 1 +DIST_TUPLE = github ib xarchiver 0.5.4.23 . HOMEPAGE = https://xarchiver.sourceforge.net diff --git a/x11/xarchiver/distinfo b/x11/xarchiver/distinfo index f606593bbeb..43cd9acae55 100644 --- a/x11/xarchiver/distinfo +++ b/x11/xarchiver/distinfo @@ -1,2 +1,2 @@ -SHA256 (ib-xarchiver-0.5.4.21.tar.gz) = ZTKb/36QFFLz+SfZE8R//KdZo26D6LgtBP5pRec5P9Q= -SIZE (ib-xarchiver-0.5.4.21.tar.gz) = 1132417 +SHA256 (ib-xarchiver-0.5.4.23.tar.gz) = MZk1zTI+hl2KoSAjtShsMUwShJGsWOhT5j9tbqPaKic= +SIZE (ib-xarchiver-0.5.4.23.tar.gz) = 1126908 diff --git a/x11/xarchiver/patches/patch-src_main_c b/x11/xarchiver/patches/patch-src_main_c new file mode 100644 index 00000000000..4e6a511810c --- /dev/null +++ b/x11/xarchiver/patches/patch-src_main_c @@ -0,0 +1,12 @@ +Index: src/main.c +--- src/main.c.orig ++++ src/main.c +@@ -126,7 +126,7 @@ static void xa_check_available_archivers () + } + } + +- cpio = g_find_program_in_path("cpio"); ++ cpio = g_find_program_in_path("gcpio"); + lbzip2 = g_find_program_in_path("lbzip2"); + lsar = g_find_program_in_path("lsar"); + pbzip2 = g_find_program_in_path("pbzip2");