Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Apr 2021 09:28:31 GMT
From:      Mathieu Arnold <mat@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: fb0ec579e3d3 - main - sysutils/tmux: Remove obsolete BACKSPACE option.
Message-ID:  <202104140928.13E9SVCb027065@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by mat:

URL: https://cgit.FreeBSD.org/ports/commit/?id=fb0ec579e3d385d75a18df8ea8b8f2162606c484

commit fb0ec579e3d385d75a18df8ea8b8f2162606c484
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2021-04-14 08:57:08 +0000
Commit:     Mathieu Arnold <mat@FreeBSD.org>
CommitDate: 2021-04-14 09:17:56 +0000

    sysutils/tmux: Remove obsolete BACKSPACE option.
    
    PR:             246077
---
 sysutils/tmux/Makefile                     |  6 ++----
 sysutils/tmux/files/extra-patch-tty-keys.c | 11 -----------
 2 files changed, 2 insertions(+), 15 deletions(-)

diff --git a/sysutils/tmux/Makefile b/sysutils/tmux/Makefile
index 1dc6d6f03ce0..a6aef74cb463 100644
--- a/sysutils/tmux/Makefile
+++ b/sysutils/tmux/Makefile
@@ -2,6 +2,7 @@
 
 PORTNAME=	tmux
 PORTVERSION=	3.1c
+PORTREVISION=	1
 CATEGORIES=	sysutils
 MASTER_SITES=	https://github.com/tmux/tmux/releases/download/${PORTVERSION}/
 DISTFILES=	${DISTNAME}${EXTRACT_SUFX}
@@ -30,14 +31,11 @@ PLIST_FILES=	bin/tmux \
 PORTDOCS=	CHANGES README
 PORTEXAMPLES=	*
 
-OPTIONS_DEFINE=	BACKSPACE DOCS EXAMPLES LIBEVENT_STATIC UTF8PROC
+OPTIONS_DEFINE=	DOCS EXAMPLES LIBEVENT_STATIC UTF8PROC
 
-BACKSPACE_DESC=		Build with tty/keys patch
 LIBEVENT_STATIC_DESC=	Build with static libevent
 UTF8PROC_DESC=		Build with utf8proc support
 
-BACKSPACE_EXTRA_PATCHES=	${PATCHDIR}/extra-patch-tty-keys.c
-
 LIBEVENT_STATIC_BUILD_DEPENDS=		${LOCALBASE}/lib/libevent.a:devel/libevent
 LIBEVENT_STATIC_LIB_DEPENDS_OFF=	libevent.so:devel/libevent
 LIBEVENT_STATIC_VARS=			LESTATIC=${LOCALBASE}/lib/libevent.a
diff --git a/sysutils/tmux/files/extra-patch-tty-keys.c b/sysutils/tmux/files/extra-patch-tty-keys.c
deleted file mode 100644
index 89d568168a62..000000000000
--- a/sysutils/tmux/files/extra-patch-tty-keys.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- tty-keys.c.orig	2020-04-24 08:57:17 UTC
-+++ tty-keys.c
-@@ -719,8 +719,6 @@ complete_key:
- 	 * used. termios should have a better idea.
- 	 */
- 	bspace = tty->tio.c_cc[VERASE];
--	if (bspace != _POSIX_VDISABLE && (key & KEYC_MASK_KEY) == bspace)
--		key = (key & KEYC_MASK_MOD) | KEYC_BSPACE;
- 
- 	/* Remove data from buffer. */
- 	evbuffer_drain(tty->in, size);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202104140928.13E9SVCb027065>