aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2007-03-17 05:05:54 +0800
committermiwi <miwi@FreeBSD.org>2007-03-17 05:05:54 +0800
commit5b411920adeffc0fc558964d75477efc7d71d85c (patch)
treee7b262d0926ffe9b50a81ee4777d29ce85a538b9 /misc
parent6f68c54b9acea9a6c05494ba30d9e11ba51cc62f (diff)
downloadfreebsd-ports-gnome-5b411920adeffc0fc558964d75477efc7d71d85c.tar.gz
freebsd-ports-gnome-5b411920adeffc0fc558964d75477efc7d71d85c.tar.zst
freebsd-ports-gnome-5b411920adeffc0fc558964d75477efc7d71d85c.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-Configure11
-rw-r--r--misc/heyu2/files/patch-tty.c-tty_aux.c32
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>