Martin Ziemer wrote:
> This patch updates nnn from 4.4 to 4.5.
>
> Tested on two amd64 systems.
committed, thanks!
> Index: Makefile
> ===
> RCS file: /cvs/ports/sysutils/nnn/Makefile,v
> retrieving revision 1.19
> diff -u -p -r1.19 Makefile
> --- Makefile 11 Mar 2022 19:57:43 - 1.19
> +++ Makefile 26 Apr 2022 13:16:44 -
> @@ -1,6 +1,6 @@
> COMMENT =the missing terminal file browser for X
>
> -V = 4.4
> +V = 4.5
> DISTNAME = nnn-v${V}
> PKGNAME =nnn-${V}
>
> Index: distinfo
> ===
> RCS file: /cvs/ports/sysutils/nnn/distinfo,v
> retrieving revision 1.15
> diff -u -p -r1.15 distinfo
> --- distinfo 25 Nov 2021 18:52:55 - 1.15
> +++ distinfo 26 Apr 2022 13:16:44 -
> @@ -1,2 +1,2 @@
> -SHA256 (nnn-v4.4.tar.gz) = 4Eo/Dwwq8eGMtvAF0YJnx3A2RCdNIbuT8Dsw5P09FlM=
> -SIZE (nnn-v4.4.tar.gz) = 239005
> +SHA256 (nnn-v4.5.tar.gz) = +twVvW1EAMBuXMxHhFtC5gd082hXDkdb2IJ2fuGHSao=
> +SIZE (nnn-v4.5.tar.gz) = 242191
> Index: patches/patch-src_nnn_c
> ===
> RCS file: patches/patch-src_nnn_c
> diff -N patches/patch-src_nnn_c
> --- patches/patch-src_nnn_c 11 Mar 2022 19:57:43 - 1.4
> +++ /dev/null 1 Jan 1970 00:00:00 -
> @@ -1,19 +0,0 @@
> -Cherry pick patch to make file renames more reliable.
> -https://patch-diff.githubusercontent.com/raw/jarun/nnn/pull/1243.diff
> -
> -Index: src/nnn.c
> src/nnn.c.orig
> -+++ src/nnn.c
> -@@ -2729,12 +2729,7 @@ static void archive_selection(const char *cmd, const c
> - }
> -
> - snprintf(buf, CMD_LEN_MAX,
> --#ifdef __linux__
> - SED" -ze 's|^%s/||' '%s' | xargs -0 %s %s", curpath, selpath,
> cmd, archive
> --#else
> --"tr '\\0' '\n' < '%s' | "SED" -e 's|^%s/||' | tr '\n' '\\0' |
> xargs -0 %s %s",
> --selpath, curpath, cmd, archive
> --#endif
> - );
> - spawn(utils[UTIL_SH_EXEC], buf, NULL, NULL, F_CLI | F_CONFIRM);
> - free(buf);