View | Details | Raw Unified | Return to bug 246077
Collapse All | Expand All

(-)sysutils/tmux/Makefile (-4 / +1 lines)
Lines 31-44 PLIST_FILES= bin/tmux \ Link Here
31
PORTDOCS=	CHANGES README
31
PORTDOCS=	CHANGES README
32
PORTEXAMPLES=	*
32
PORTEXAMPLES=	*
33
33
34
OPTIONS_DEFINE=	BACKSPACE DOCS EXAMPLES LIBEVENT_STATIC UTF8PROC
34
OPTIONS_DEFINE=	DOCS EXAMPLES LIBEVENT_STATIC UTF8PROC
35
35
36
BACKSPACE_DESC=		Build with tty/keys patch
37
LIBEVENT_STATIC_DESC=	Build with static libevent
36
LIBEVENT_STATIC_DESC=	Build with static libevent
38
UTF8PROC_DESC=		Build with utf8proc support
37
UTF8PROC_DESC=		Build with utf8proc support
39
38
40
BACKSPACE_EXTRA_PATCHES=	${PATCHDIR}/extra-patch-tty-keys.c
41
42
LIBEVENT_STATIC_BUILD_DEPENDS=		${LOCALBASE}/lib/libevent.a:devel/libevent
39
LIBEVENT_STATIC_BUILD_DEPENDS=		${LOCALBASE}/lib/libevent.a:devel/libevent
43
LIBEVENT_STATIC_LIB_DEPENDS_OFF=	libevent.so:devel/libevent
40
LIBEVENT_STATIC_LIB_DEPENDS_OFF=	libevent.so:devel/libevent
44
LIBEVENT_STATIC_VARS=			LESTATIC=${LOCALBASE}/lib/libevent.a
41
LIBEVENT_STATIC_VARS=			LESTATIC=${LOCALBASE}/lib/libevent.a
(-)sysutils/tmux/files/extra-patch-tty-keys.c (-11 lines)
Lines 1-11 Link Here
1
--- tty-keys.c.orig	2020-04-24 08:57:17 UTC
2
+++ tty-keys.c
3
@@ -719,8 +719,6 @@ complete_key:
4
 	 * used. termios should have a better idea.
5
 	 */
6
 	bspace = tty->tio.c_cc[VERASE];
7
-	if (bspace != _POSIX_VDISABLE && (key & KEYC_MASK_KEY) == bspace)
8
-		key = (key & KEYC_MASK_MOD) | KEYC_BSPACE;
9
 
10
 	/* Remove data from buffer. */
11
 	evbuffer_drain(tty->in, size);

Return to bug 246077