summaryrefslogtreecommitdiff
path: root/net/icb
diff options
context:
space:
mode:
authorchristos <christos@pkgsrc.org>1999-11-29 04:38:22 +0000
committerchristos <christos@pkgsrc.org>1999-11-29 04:38:22 +0000
commitb4fe85ba9810c254d5ba62cca614d2adec3cdbfd (patch)
tree8142280de13841c84b5aa4f2c8028b2ba79d2b6f /net/icb
parent55fcbd4553c186c936271b81b4626c46b0c60019 (diff)
downloadpkgsrc-b4fe85ba9810c254d5ba62cca614d2adec3cdbfd.tar.gz
depend on the existance of the define TIOCSTI to enable it, not SYSV
Diffstat (limited to 'net/icb')
-rw-r--r--net/icb/patches/patch-as21
1 files changed, 21 insertions, 0 deletions
diff --git a/net/icb/patches/patch-as b/net/icb/patches/patch-as
new file mode 100644
index 00000000000..85169689c7e
--- /dev/null
+++ b/net/icb/patches/patch-as
@@ -0,0 +1,21 @@
+$NetBSD: patch-as,v 1.1 1999/11/29 04:38:22 christos Exp $
+
+--- unix.c.orig Sun Nov 28 23:33:27 1999
++++ unix.c Sun Nov 28 23:35:51 1999
+@@ -92,13 +92,13 @@
+ pushback(c)
+ char c;
+ {
+-#ifndef SYSV
++#ifdef TIOCSTI
+ if (ioctl(0, TIOCSTI, &c) < 0)
+ perror("TIOCSTI ioctl failed");
+-#else /* SYSV */
++#else /* !TIOCSTI */
+ if (ungetc(c,stdin) == EOF)
+ perror("ungetc() failed");
+-#endif /* SYSV */
++#endif /* TIOCSTI */
+ }
+
+