summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorbouyer <bouyer>2000-04-21 08:52:48 +0000
committerbouyer <bouyer>2000-04-21 08:52:48 +0000
commit1d8ab058aedf26d32849418cf55b40f11f500849 (patch)
treed86cdeb5110141551f836253a5991c8ec903a495 /devel
parent29f1a182f26757ea93af050eb5098d058a3658ae (diff)
downloadpkgsrc-1d8ab058aedf26d32849418cf55b40f11f500849.tar.gz
Avoid compile-time warnings caused by redefinition of curses.h macros.
Diffstat (limited to 'devel')
-rw-r--r--devel/cscope/files/patch-sum4
-rw-r--r--devel/cscope/patches/patch-aa14
2 files changed, 14 insertions, 4 deletions
diff --git a/devel/cscope/files/patch-sum b/devel/cscope/files/patch-sum
index 7e8570f859e..0f765eeceae 100644
--- a/devel/cscope/files/patch-sum
+++ b/devel/cscope/files/patch-sum
@@ -1,5 +1,5 @@
-$NetBSD: patch-sum,v 1.3 2000/04/20 20:17:02 elric Exp $
+$NetBSD: patch-sum,v 1.4 2000/04/21 08:52:48 bouyer Exp $
-MD5 (patch-aa) = 28a04474addea2add1d4dcba6051fd6c
+MD5 (patch-aa) = a31d0594546056807b99b3e3a6254ba2
MD5 (patch-ab) = 0e72f5a165347ec7905048af27ec943b
MD5 (patch-ac) = 852f5f59a5240936cefa79e94dde6fd3
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