mirror of
https://github.com/netbirdio/FreeBSD-ports.git
synced 2026-05-22 18:42:42 -07:00
sysutils/tmate: Add BACKSPACE option
- Add LICENSE PR: 248511
This commit is contained in:
committed by
Muhammad Moinur Rahman
parent
4af25c28b3
commit
aeb0a1d7f1
+12
-2
@@ -1,12 +1,15 @@
|
||||
PORTNAME= tmate
|
||||
PORTVERSION= 2.4.0
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= sysutils
|
||||
|
||||
MAINTAINER= bofh@FreeBSD.org
|
||||
COMMENT= Instant terminal sharing
|
||||
WWW= https://tmate.io/
|
||||
|
||||
LICENSE= ISCL
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
LIB_DEPENDS= libevent.so:devel/libevent \
|
||||
libmsgpackc.so:devel/msgpack-c \
|
||||
libssh.so:security/libssh
|
||||
@@ -14,11 +17,18 @@ LIB_DEPENDS= libevent.so:devel/libevent \
|
||||
USES= autoreconf compiler:c11 ncurses pkgconfig
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= tmate-io
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
LDFLAGS+= -lexecinfo
|
||||
|
||||
PLIST_FILES= bin/tmate man/man1/tmate.1.gz
|
||||
|
||||
OPTIONS_DEFINE= BACKSPACE
|
||||
|
||||
BACKSPACE_DESC= Build with tty/keys patch
|
||||
|
||||
BACKSPACE_EXTRA_PATCHES= ${PATCHDIR}/extra-patch-tty-keys.c
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
--- tty-keys.c.orig 2023-06-02 17:59:27 UTC
|
||||
+++ tty-keys.c
|
||||
@@ -572,8 +572,6 @@ first_key:
|
||||
* used. termios should have a better idea.
|
||||
*/
|
||||
bspace = tty->tio.c_cc[VERASE];
|
||||
- if (bspace != _POSIX_VDISABLE && key == bspace)
|
||||
- key = KEYC_BSPACE;
|
||||
|
||||
goto complete_key;
|
||||
|
||||
Reference in New Issue
Block a user