mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
Add a trivial patch to fix screen compiles on post-pmtx FreeBSD 7-current
systems. Approved by: maintainer timeout
This commit is contained in:
parent
4c2647bdd3
commit
495c3da815
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=155621
15
sysutils/screen/files/patch-pty.c
Normal file
15
sysutils/screen/files/patch-pty.c
Normal file
@ -0,0 +1,15 @@
|
||||
--- pty.c.orig Mon Feb 6 18:54:37 2006
|
||||
+++ pty.c Mon Feb 6 18:56:50 2006
|
||||
@@ -33,10 +33,12 @@
|
||||
# include <sys/ioctl.h>
|
||||
#endif
|
||||
|
||||
+#ifndef __FreeBSD__
|
||||
/* for solaris 2.1, Unixware (SVR4.2) and possibly others */
|
||||
#ifdef HAVE_SVR4_PTYS
|
||||
# include <sys/stropts.h>
|
||||
#endif
|
||||
+#endif
|
||||
|
||||
#if defined(sun) && defined(LOCKPTY) && !defined(TIOCEXCL)
|
||||
# include <sys/ttold.h>
|
Loading…
Reference in New Issue
Block a user