summaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authornaddy <naddy@FreeBSD.org>2016-01-15 20:12:55 +0000
committernaddy <naddy@FreeBSD.org>2016-01-15 20:12:55 +0000
commit2a76269739f0e8fb863bed7f9b6d61f541e8dfa5 (patch)
treec1539d91c136ee0b2734270f6c46d6fde8ff1b5b /x11
parent287502e21688c884a43d8c6c32a6b70bd6aadec0 (diff)
downloadFreeBSD-ports-2a76269739f0e8fb863bed7f9b6d61f541e8dfa5.zip
FreeBSD-ports-2a76269739f0e8fb863bed7f9b6d61f541e8dfa5.tar.gz
On BSD, switching off ICANON does not disable LNEXT (^V) processing.
We explicitly need to unset IEXTEN.
Diffstat (limited to 'x11')
-rw-r--r--x11/luit/Makefile1
-rw-r--r--x11/luit/files/patch-sys.c11
2 files changed, 12 insertions, 0 deletions
diff --git a/x11/luit/Makefile b/x11/luit/Makefile
index bfa31c2..c0aa992 100644
--- a/x11/luit/Makefile
+++ b/x11/luit/Makefile
@@ -2,6 +2,7 @@
PORTNAME= luit
PORTVERSION= 1.1.1
+PORTREVISION= 1
CATEGORIES= x11
MAINTAINER= x11@FreeBSD.org
diff --git a/x11/luit/files/patch-sys.c b/x11/luit/files/patch-sys.c
new file mode 100644
index 0000000..ed1d254
--- /dev/null
+++ b/x11/luit/files/patch-sys.c
@@ -0,0 +1,11 @@
+--- sys.c.orig 2012-03-23 04:23:07 UTC
++++ sys.c
+@@ -256,7 +256,7 @@ setRawTermios(void)
+ rc = tcgetattr(0, &tio);
+ if (rc < 0)
+ return rc;
+- tio.c_lflag &= (unsigned) ~(ECHO | ICANON | ISIG);
++ tio.c_lflag &= (unsigned) ~(ECHO | ICANON | IEXTEN | ISIG);
+ tio.c_iflag &= (unsigned) ~(ICRNL | IXOFF | IXON | ISTRIP);
+ #ifdef ONLCR
+ tio.c_oflag &= (unsigned) ~ONLCR;
OpenPOWER on IntegriCloud