From 8e0976766ba5d9679ec44e87b47dbd88f95e997d Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Fri, 16 Mar 2007 21:05:54 +0000 Subject: - Avoid sgtty.h PR: 110378 Submitted by: Ed Schouten (maintainer) --- misc/heyu2/files/patch-Configure | 11 +++++++++++ misc/heyu2/files/patch-tty.c-tty_aux.c | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) create mode 100644 misc/heyu2/files/patch-Configure create mode 100644 misc/heyu2/files/patch-tty.c-tty_aux.c (limited to 'misc') 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 + struct sgttyb oldsb, newsb; + #else +-#ifndef POSIX +-#include + #ifndef NCC + #define NCC NCCS + #endif ++#ifndef POSIX ++#include + struct termio oldsb, newsb; + #else + #include +--- 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 + struct sgttyb oldsb, newsb; + #else +-#ifndef POSIX +-#include + #ifndef NCC + #define NCC NCCS + #endif ++#ifndef POSIX ++#include + struct termio oldsb, newsb; + #else + #include -- cgit v1.2.3