summaryrefslogtreecommitdiff
path: root/net/tn5250/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'net/tn5250/patches/patch-aa')
-rw-r--r--net/tn5250/patches/patch-aa17
1 files changed, 14 insertions, 3 deletions
diff --git a/net/tn5250/patches/patch-aa b/net/tn5250/patches/patch-aa
index 5766ab5322f..a2c3be876dc 100644
--- a/net/tn5250/patches/patch-aa
+++ b/net/tn5250/patches/patch-aa
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.2 1999/09/04 01:09:02 hubertf Exp $
+$NetBSD: patch-aa,v 1.3 2001/02/08 13:46:04 wiz Exp $
--- cursesterm.cc.orig Mon Apr 5 18:25:45 1999
-+++ cursesterm.cc Sat Sep 4 02:32:40 1999
-@@ -19,7 +19,12 @@
++++ cursesterm.cc
+@@ -19,13 +19,23 @@
#include "config.h"
#include <assert.h>
#include <sys/time.h>
@@ -15,3 +15,14 @@ $NetBSD: patch-aa,v 1.2 1999/09/04 01:09:02 hubertf Exp $
#include <string.h>
#include <ctype.h>
#include "utility.h"
+ #include "displaybuf.h"
+ #include "terminal.h"
+ #include "cursesterm.h"
++
++/* workaround for NetBSD curses */
++#ifndef A_VERTICAL
++#define A_VERTICAL 0x2000
++#endif
+
+ /* Mapping of 5250 colors to curses colors */
+ #define A_5250_GREEN (COLOR_PAIR(COLOR_GREEN))