Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Sep 2014 10:11:02 +0000 (UTC)
From:      Pietro Cerutti <gahr@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r367254 - in head/sysutils/tmux: . files
Message-ID:  <201409041011.s84AB25h032423@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gahr
Date: Thu Sep  4 10:11:01 2014
New Revision: 367254
URL: http://svnweb.freebsd.org/changeset/ports/367254
QAT: https://qat.redports.org/buildarchive/r367254/

Log:
  - Revert r363450, it's causing more problems than it solves

Added:
  head/sysutils/tmux/files/extra-patch-tty-keys.c
     - copied unchanged from r363449, head/sysutils/tmux/files/extra-patch-tty-keys.c
Deleted:
  head/sysutils/tmux/files/patch-tty-keys.c
Modified:
  head/sysutils/tmux/Makefile

Modified: head/sysutils/tmux/Makefile
==============================================================================
--- head/sysutils/tmux/Makefile	Thu Sep  4 09:19:25 2014	(r367253)
+++ head/sysutils/tmux/Makefile	Thu Sep  4 10:11:01 2014	(r367254)
@@ -26,12 +26,15 @@ PLIST_DIRSTRY=	etc/bash_completion.d
 PORTDOCS=	CHANGES FAQ README TODO
 PORTEXAMPLES=	*
 
-OPTIONS_DEFINE=	DOCS EXAMPLES LIBEVENT_STATIC
+OPTIONS_DEFINE=	DOCS EXAMPLES LIBEVENT_STATIC BACKSPACE
 
 LIBEVENT_STATIC_DESC=	Build with static libevent
+BACKSPACE_DESC=	Build with tty/keys patch
 
 CFLAGS+=	-Wno-pointer-sign
 
+BACKSPACE_EXTRA_PATCHES=	${PATCHDIR}/extra-patch-tty-keys.c
+
 LIBEVENT_STATIC_LIB_DEPENDS_OFF=	libevent.so:${PORTSDIR}/devel/libevent2
 LIBEVENT_STATIC_BUILD_DEPENDS=	${LOCALBASE}/lib/libevent.a:${PORTSDIR}/devel/libevent2
 

Copied: head/sysutils/tmux/files/extra-patch-tty-keys.c (from r363449, head/sysutils/tmux/files/extra-patch-tty-keys.c)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/tmux/files/extra-patch-tty-keys.c	Thu Sep  4 10:11:01 2014	(r367254, copy of r363449, head/sysutils/tmux/files/extra-patch-tty-keys.c)
@@ -0,0 +1,11 @@
+--- tty-keys.c.orig	2013-03-27 14:37:25.000000000 +0100
++++ tty-keys.c	2013-03-27 14:37:44.000000000 +0100
+@@ -529,8 +529,6 @@
+ 	 * 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;
+ 



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