summaryrefslogtreecommitdiff
path: root/comms
diff options
context:
space:
mode:
authorrecht <recht@pkgsrc.org>2004-06-29 23:42:46 +0000
committerrecht <recht@pkgsrc.org>2004-06-29 23:42:46 +0000
commit9ab82fb70692a19bcb9e5776ee754a8bde71dc41 (patch)
treeddb8c000417e56f0331f23bc2e4965b1823bfb6e /comms
parent6ce5c47b620f5de1c7f5e67c40032301e8242400 (diff)
downloadpkgsrc-9ab82fb70692a19bcb9e5776ee754a8bde71dc41.tar.gz
add patch missed in the previous commit
Diffstat (limited to 'comms')
-rw-r--r--comms/snooper/patches/patch-aa13
1 files changed, 13 insertions, 0 deletions
diff --git a/comms/snooper/patches/patch-aa b/comms/snooper/patches/patch-aa
new file mode 100644
index 00000000000..0ed6f1abc85
--- /dev/null
+++ b/comms/snooper/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1 2004/06/29 23:42:46 recht Exp $
+
+--- ../src/scrn.c.orig 1998-08-12 16:32:02.000000000 +0200
++++ ../src/scrn.c 2004-06-30 01:38:04.000000000 +0200
+@@ -33,7 +33,7 @@
+ #ifdef TIOCGWINSZ
+ struct winsize win;
+
+- if (ioctl(STDERR_FILENO, TIOCGWINSZ, &win) == -1) {
++ if (ioctl(STDERR_FILENO, TIOCGWINSZ, &win) != -1) {
+ rows = win.ws_row;
+ cols = win.ws_col;
+ }