diff options
author | bouyer <bouyer> | 2000-04-21 08:52:48 +0000 |
---|---|---|
committer | bouyer <bouyer> | 2000-04-21 08:52:48 +0000 |
commit | 1d8ab058aedf26d32849418cf55b40f11f500849 (patch) | |
tree | d86cdeb5110141551f836253a5991c8ec903a495 /devel/cscope/patches | |
parent | 29f1a182f26757ea93af050eb5098d058a3658ae (diff) | |
download | pkgsrc-1d8ab058aedf26d32849418cf55b40f11f500849.tar.gz |
Avoid compile-time warnings caused by redefinition of curses.h macros.
Diffstat (limited to 'devel/cscope/patches')
-rw-r--r-- | devel/cscope/patches/patch-aa | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/devel/cscope/patches/patch-aa b/devel/cscope/patches/patch-aa index 05130216645..cad4a702647 100644 --- a/devel/cscope/patches/patch-aa +++ b/devel/cscope/patches/patch-aa @@ -1,4 +1,4 @@ -$NetBSD: patch-aa,v 1.2 2000/04/20 07:06:30 itojun Exp $ +$NetBSD: patch-aa,v 1.3 2000/04/21 08:52:49 bouyer Exp $ Index: common/constants.h =================================================================== RCS file: /cvsroot/cscope/cscope/common/constants.h,v @@ -6,7 +6,17 @@ retrieving revision 1.1.1.1 diff -u -r1.1.1.1 constants.h --- common/constants.h 2000/04/18 13:16:41 1.1.1.1 +++ common/constants.h 2000/04/20 06:59:58 -@@ -135,11 +135,13 @@ +@@ -127,19 +127,22 @@ + #endif + + #if !TERMINFO ++#ifndef __NetBSD__ + #define KEY_BREAK 0400 /* easier to define than to add #if around the use */ + #define KEY_ENTER 0401 + #define KEY_BACKSPACE 0402 +- ++#endif + #if !sun #define cbreak() crmode() /* name change */ #endif |