diff options
author | miwi <miwi@FreeBSD.org> | 2008-01-04 05:03:39 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2008-01-04 05:03:39 +0800 |
commit | 2e6f438fc2f0b0c732c40b4a812d494b95bcccee (patch) | |
tree | dfafedd6b75715552031e719c5354210e92f02ec | |
parent | 697b67d6ceee351751657338336cd5799eeaab98 (diff) | |
download | freebsd-ports-gnome-2e6f438fc2f0b0c732c40b4a812d494b95bcccee.tar.gz freebsd-ports-gnome-2e6f438fc2f0b0c732c40b4a812d494b95bcccee.tar.zst freebsd-ports-gnome-2e6f438fc2f0b0c732c40b4a812d494b95bcccee.zip |
The prodosemu port includes the sgtty header file, but doesn't do
anything with it. This is bad habit, especially because the sgtty.h is a
deprecated header file, which describes an interface that's only present
when COMPAT_43TTY is present in the kernel.
There's no real harm in this case, but say, we want to remove this
header file, it will cause compilation to fail.
PR: 119101
Submitted by: Ed Schouten <ed@fxq.nl>
-rw-r--r-- | emulators/prodosemu/files/patch-ab | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/emulators/prodosemu/files/patch-ab b/emulators/prodosemu/files/patch-ab index fa7e24e8d6e6..27e9049a30a4 100644 --- a/emulators/prodosemu/files/patch-ab +++ b/emulators/prodosemu/files/patch-ab @@ -1,12 +1,18 @@ --- apple.h.orig Tue Jan 9 13:00:03 1996 +++ apple.h Tue Aug 15 20:34:22 2000 -@@ -18,8 +18,7 @@ +@@ -17,15 +17,6 @@ + #include <ctype.h> #endif - #ifndef CBREAK +-#ifndef CBREAK -/*#include <sgtty.h>*/ -#include <bsd/sgtty.h> -+#include <sgtty.h> +-#endif +- +-#ifndef TIOCGETP +-#include <sys/ioctl.h> +-#endif +- + #ifndef O_NDELAY + #include <fcntl.h> #endif - - #ifndef TIOCGETP |