diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2007-03-16 21:05:54 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2007-03-16 21:05:54 +0000 |
commit | 8e0976766ba5d9679ec44e87b47dbd88f95e997d (patch) | |
tree | 65dfa67685c73821cd3d433459bafe1959b5fe99 /misc | |
parent | 4b027cce3addedb93f70053778d52a486dff0d0e (diff) | |
download | freebsd-ports-8e0976766ba5d9679ec44e87b47dbd88f95e997d.zip |
- Avoid sgtty.h
PR: 110378
Submitted by: Ed Schouten <ed@fxq.nl> (maintainer)
Diffstat (limited to 'misc')
-rw-r--r-- | misc/heyu2/files/patch-Configure | 11 | ||||
-rw-r--r-- | misc/heyu2/files/patch-tty.c-tty_aux.c | 32 |
2 files changed, 43 insertions, 0 deletions
diff --git a/misc/heyu2/files/patch-Configure b/misc/heyu2/files/patch-Configure new file mode 100644 index 000000000000..6cc5e0a4924d --- /dev/null +++ b/misc/heyu2/files/patch-Configure @@ -0,0 +1,11 @@ +--- Configure Fri Mar 16 09:25:28 2007 ++++ Configure Fri Mar 16 09:25:39 2007 +@@ -104,7 +104,7 @@ + CC ?= gcc + CFLAGS += -g -O \$(DFLAGS) -Wall + LIBS = -lm -lc +- DFLAGS= -DHASSELECT -DNEEDGTIME -DFREEBSD -DLOCKDIR=\"/var/spool/lock\" -DSYSBASEDIR=\"/usr/local/etc/heyu\" -DSPOOLDIR=\"/var/tmp/heyu\" $CM17AFLAG $EXT0FLAG ++ DFLAGS= -DPOSIX -DHASSELECT -DNEEDGTIME -DFREEBSD -DLOCKDIR=\"/var/spool/lock\" -DSYSBASEDIR=\"/usr/local/etc/heyu\" -DSPOOLDIR=\"/var/tmp/heyu\" $CM17AFLAG $EXT0FLAG + EoF + ;; + openbsd) diff --git a/misc/heyu2/files/patch-tty.c-tty_aux.c b/misc/heyu2/files/patch-tty.c-tty_aux.c new file mode 100644 index 000000000000..77fb8d0fd032 --- /dev/null +++ b/misc/heyu2/files/patch-tty.c-tty_aux.c @@ -0,0 +1,32 @@ +--- tty.c Sun Mar 30 22:57:59 2003 ++++ tty.c Thu Mar 15 22:48:59 2007 +@@ -86,11 +86,11 @@ + #include <sgtty.h> + struct sgttyb oldsb, newsb; + #else +-#ifndef POSIX +-#include <termio.h> + #ifndef NCC + #define NCC NCCS + #endif ++#ifndef POSIX ++#include <termio.h> + struct termio oldsb, newsb; + #else + #include <termios.h> +--- tty_aux.c Sun Mar 30 22:57:59 2003 ++++ tty_aux.c Thu Mar 15 22:48:59 2007 +@@ -86,11 +86,11 @@ + #include <sgtty.h> + struct sgttyb oldsb, newsb; + #else +-#ifndef POSIX +-#include <termio.h> + #ifndef NCC + #define NCC NCCS + #endif ++#ifndef POSIX ++#include <termio.h> + struct termio oldsb, newsb; + #else + #include <termios.h> |