Unbreak luit.

Approved by:	anholt (mentor)
This commit is contained in:
Dejan Lesjak 2004-09-02 03:15:01 +00:00
parent 0d00dd7aa0
commit 91a9cd832f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=117884
2 changed files with 11 additions and 11 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= xorg-clients PORTNAME= xorg-clients
PORTVERSION= 6.7.0 PORTVERSION= 6.7.0
PORTREVISION= 3 PORTREVISION= 4
CATEGORIES= x11 CATEGORIES= x11
MASTER_SITES= http://freedesktop.org/~xorg/X11R6.7.0/src/ \ MASTER_SITES= http://freedesktop.org/~xorg/X11R6.7.0/src/ \
${MASTER_SITE_XORG} ${MASTER_SITE_XORG}

View File

@ -1,14 +1,14 @@
--- programs/luit/luit.c.orig Sat May 29 17:14:45 2004 --- programs/luit/luit.c.orig Thu Apr 8 05:14:16 2004
+++ programs/luit/luit.c Sat May 29 17:15:01 2004 +++ programs/luit/luit.c Thu Apr 8 05:20:18 2004
@@ -549,9 +549,10 @@ @@ -545,9 +545,11 @@
#endif
installHandler(SIGCHLD, sigchldHandler);
+/* Disabled, appears to break luit.
rc = copyTermios(0, pty);
if(rc < 0) if(rc < 0)
FatalError("Couldn't copy terminal settings\n"); FatalError("Couldn't copy terminal settings\n");
+*/
- rc = setRawTermios(); rc = setRawTermios();
+ /*rc = setRawTermios();
if(rc < 0) if(rc < 0)
FatalError("Couldn't set terminal to raw\n");
+ */ /* Disabled, appears to break luit. */
val = fcntl(0, F_GETFL, 0);
if(val >= 0) {