diff options
author | kan <kan@FreeBSD.org> | 2006-02-10 10:25:56 +0800 |
---|---|---|
committer | kan <kan@FreeBSD.org> | 2006-02-10 10:25:56 +0800 |
commit | 955a50390f7a934e6666a779e50c072a880bac85 (patch) | |
tree | af049d1614cfaf65784e8a1bc67f49c90269a7ae | |
parent | 1f2a96199b9b45a10f8e3fa240cf1365fe833cb8 (diff) | |
download | freebsd-ports-gnome-955a50390f7a934e6666a779e50c072a880bac85.tar.gz freebsd-ports-gnome-955a50390f7a934e6666a779e50c072a880bac85.tar.zst freebsd-ports-gnome-955a50390f7a934e6666a779e50c072a880bac85.zip |
Add a trivial patch to fix screen compiles on post-pmtx FreeBSD 7-current
systems.
Approved by: maintainer timeout
-rw-r--r-- | sysutils/screen/files/patch-pty.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/sysutils/screen/files/patch-pty.c b/sysutils/screen/files/patch-pty.c new file mode 100644 index 000000000000..352a37e704b5 --- /dev/null +++ b/sysutils/screen/files/patch-pty.c @@ -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> |