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

(-)chinese/ve/files/patch-Makefile (-1 / +1 lines)
Lines 10-16 Link Here
10
 #----------------------------------------------------------
10
 #----------------------------------------------------------
11
-CFLAGS = -DVEDITOR
11
-CFLAGS = -DVEDITOR
12
+CFLAGS ?= -O -pipe
12
+CFLAGS ?= -O -pipe
13
+CFLAGS += -DVEDITOR
13
+CFLAGS += -DVEDITOR -DLINUX
14
 LIBS = -ltermcap -lcompat
14
 LIBS = -ltermcap -lcompat
15
 
15
 
16
 #----------------------------------------------------------
16
 #----------------------------------------------------------
(-)chinese/ve/files/patch-bbs.h (+13 lines)
Line 0 Link Here
1
--- bbs.h	1996-07-26 14:37:02.000000000 +0200
2
+++ bbs.h	2007-12-28 20:09:00.000000000 +0100
3
@@ -26,9 +26,7 @@
4
 #include <sys/file.h>
5
 
6
 
7
-#ifdef	LINUX
8
-#include <bsd/sgtty.h>
9
-#else
10
+#ifndef	LINUX
11
 #include <sgtty.h>
12
 #endif
13
 
(-)chinese/ve/files/patch-term.c (+20 lines)
Line 0 Link Here
1
--- term.c	1997-01-24 17:36:57.000000000 +0100
2
+++ term.c	2007-12-28 20:12:09.000000000 +0100
3
@@ -16,7 +16,7 @@
4
 #endif
5
 
6
 #ifdef LINUX
7
-#include <linux/termios.h>
8
+#include <termios.h>
9
 #define stty(fd, data) tcsetattr( fd, TCSETS, data )
10
 #define gtty(fd, data) tcgetattr( fd, data )
11
 #endif
12
@@ -64,7 +64,7 @@
13
 
14
 #ifdef  LINUX
15
 
16
-  tty_new.c_lflag &= ~(ICANON | ECHO | RAW | ISIG);
17
+  tty_new.c_lflag &= ~(ICANON | ECHO | ISIG);
18
   tcsetattr(1, TCSANOW, &tty_new);
19
   restore_tty();
20

Return to bug 119115