File kterm-6.2.0-powerpc.diff of Package kterm

--- kterm-6.2.0/main.c.~1~	Fri Jul 12 07:01:38 1996
+++ kterm-6.2.0/main.c	Thu Aug 31 09:21:29 2000
@@ -2681,8 +2681,11 @@
 		    if (ioctl (tty, TIOCLSET, (char *)&lmode) == -1)
 			    HsSysError(cp_pipe[1], ERROR_TIOCLSET);
 #endif	/* TIOCLSET */
+/* this doesn't work on powerpc: */		    
+#if !defined(__powerpc__) 
 		    if (ioctl (tty, TCSETA, &tio) == -1)
 			    HsSysError(cp_pipe[1], ERROR_TIOCSETP);
+#endif
 #else	/* USE_SYSV_TERMIO */
 #ifdef KTERM
 		    sg.sg_flags &= ~(ALLDELAY | XTABS | CBREAK | RAW
openSUSE Build Service is sponsored by