From 6a30a35e1abd521fac55d1b6e91d8de32d56a033 Mon Sep 17 00:00:00 2001 From: Anthony Iliopoulos Date: Sat, 31 Oct 2020 20:57:14 +0100 Subject: [PATCH] tmux: update to 3.1c. --- srcpkgs/tmux/patches/a868bac.patch | 30 ------------------------------ srcpkgs/tmux/template | 6 +++--- 2 files changed, 3 insertions(+), 33 deletions(-) delete mode 100644 srcpkgs/tmux/patches/a868bac.patch diff --git a/srcpkgs/tmux/patches/a868bac.patch b/srcpkgs/tmux/patches/a868bac.patch deleted file mode 100644 index ea157851892..00000000000 --- a/srcpkgs/tmux/patches/a868bac.patch +++ /dev/null @@ -1,30 +0,0 @@ -From a868bacb46e3c900530bed47a1c6f85b0fbe701c Mon Sep 17 00:00:00 2001 -From: nicm -Date: Thu, 29 Oct 2020 16:33:01 +0000 -Subject: [PATCH] Do not write after the end of the array and overwrite the - stack when colon-separated SGR sequences contain empty arguments. Reported by - Sergey Nizovtsev. - ---- - input.c | 7 ++++++- - 1 file changed, 6 insertions(+), 1 deletion(-) - -diff --git a/input.c b/input.c -index 42a60c92a..c280c0d97 100644 ---- input.c -+++ input.c -@@ -1976,8 +1976,13 @@ input_csi_dispatch_sgr_colon(struct input_ctx *ictx, u_int i) - free(copy); - return; - } -- } else -+ } else { - n++; -+ if (n == nitems(p)) { -+ free(copy); -+ return; -+ } -+ } - log_debug("%s: %u = %d", __func__, n - 1, p[n - 1]); - } - free(copy); diff --git a/srcpkgs/tmux/template b/srcpkgs/tmux/template index c4ec03e3731..869beb5a4b2 100644 --- a/srcpkgs/tmux/template +++ b/srcpkgs/tmux/template @@ -1,7 +1,7 @@ # Template file for 'tmux' pkgname=tmux -version=3.1b -revision=2 +version=3.1c +revision=1 build_style=gnu-configure hostmakedepends="byacc" makedepends="libevent-devel ncurses-devel" @@ -11,7 +11,7 @@ license="ISC" homepage="https://tmux.github.io" changelog="https://raw.githubusercontent.com/tmux/tmux/master/CHANGES" distfiles="https://github.com/tmux/tmux/releases/download/${version}/tmux-${version}.tar.gz" -checksum=d93f351d50af05a75fe6681085670c786d9504a5da2608e481c47cf5e1486db9 +checksum=918f7220447bef33a1902d4faff05317afd9db4ae1c9971bef5c787ac6c88386 post_install() { vlicense COPYING