freebsd-ports/x11-toolkits/xview/files/patch-lib+libxview+ttysw+termsw.c
Pav Lucistnik 870498d268 - Unbreak on 5.X and above:
* Redo SUBDIRS passing to work with new make(1)
  * Patch out TIOCREMOTE ioctl calls, it was removed from FreeBSD
  * Some gcc34 fixes
- Fix plist for xorg users

Approved by:	portmgr (marcus)
2005-08-06 21:39:23 +00:00

12 lines
405 B
C

--- lib/libxview/ttysw/termsw.c.orig Sat Aug 6 21:47:27 2005
+++ lib/libxview/ttysw/termsw.c Sat Aug 6 22:04:10 2005
@@ -413,7 +413,9 @@
/* Set the PTY to operate as a "remote terminal". */
fd = (int) xv_get(termsw_public, TTY_PTY_FD);
+#ifdef TIOCREMOTE
(void) ioctl(fd, TIOCREMOTE, &on);
+#endif /* TIOCREMOTE */
ttysw_folio->remote = ttysw_folio->pending_remote = on;
/*