head 1.14; access; symbols pkgsrc-2020Q4:1.13.0.66 pkgsrc-2020Q4-base:1.13 pkgsrc-2020Q3:1.13.0.64 pkgsrc-2020Q3-base:1.13 pkgsrc-2020Q2:1.13.0.60 pkgsrc-2020Q2-base:1.13 pkgsrc-2020Q1:1.13.0.40 pkgsrc-2020Q1-base:1.13 pkgsrc-2019Q4:1.13.0.62 pkgsrc-2019Q4-base:1.13 pkgsrc-2019Q3:1.13.0.58 pkgsrc-2019Q3-base:1.13 pkgsrc-2019Q2:1.13.0.56 pkgsrc-2019Q2-base:1.13 pkgsrc-2019Q1:1.13.0.54 pkgsrc-2019Q1-base:1.13 pkgsrc-2018Q4:1.13.0.52 pkgsrc-2018Q4-base:1.13 pkgsrc-2018Q3:1.13.0.50 pkgsrc-2018Q3-base:1.13 pkgsrc-2018Q2:1.13.0.48 pkgsrc-2018Q2-base:1.13 pkgsrc-2018Q1:1.13.0.46 pkgsrc-2018Q1-base:1.13 pkgsrc-2017Q4:1.13.0.44 pkgsrc-2017Q4-base:1.13 pkgsrc-2017Q3:1.13.0.42 pkgsrc-2017Q3-base:1.13 pkgsrc-2017Q2:1.13.0.38 pkgsrc-2017Q2-base:1.13 pkgsrc-2017Q1:1.13.0.36 pkgsrc-2017Q1-base:1.13 pkgsrc-2016Q4:1.13.0.34 pkgsrc-2016Q4-base:1.13 pkgsrc-2016Q3:1.13.0.32 pkgsrc-2016Q3-base:1.13 pkgsrc-2016Q2:1.13.0.30 pkgsrc-2016Q2-base:1.13 pkgsrc-2016Q1:1.13.0.28 pkgsrc-2016Q1-base:1.13 pkgsrc-2015Q4:1.13.0.26 pkgsrc-2015Q4-base:1.13 pkgsrc-2015Q3:1.13.0.24 pkgsrc-2015Q3-base:1.13 pkgsrc-2015Q2:1.13.0.22 pkgsrc-2015Q2-base:1.13 pkgsrc-2015Q1:1.13.0.20 pkgsrc-2015Q1-base:1.13 pkgsrc-2014Q4:1.13.0.18 pkgsrc-2014Q4-base:1.13 pkgsrc-2014Q3:1.13.0.16 pkgsrc-2014Q3-base:1.13 pkgsrc-2014Q2:1.13.0.14 pkgsrc-2014Q2-base:1.13 pkgsrc-2014Q1:1.13.0.12 pkgsrc-2014Q1-base:1.13 pkgsrc-2013Q4:1.13.0.10 pkgsrc-2013Q4-base:1.13 pkgsrc-2013Q3:1.13.0.8 pkgsrc-2013Q3-base:1.13 pkgsrc-2013Q2:1.13.0.6 pkgsrc-2013Q2-base:1.13 pkgsrc-2013Q1:1.13.0.4 pkgsrc-2013Q1-base:1.13 pkgsrc-2012Q4:1.13.0.2 pkgsrc-2012Q4-base:1.13 pkgsrc-2012Q3:1.12.0.50 pkgsrc-2012Q3-base:1.12 pkgsrc-2012Q2:1.12.0.48 pkgsrc-2012Q2-base:1.12 pkgsrc-2012Q1:1.12.0.46 pkgsrc-2012Q1-base:1.12 pkgsrc-2011Q4:1.12.0.44 pkgsrc-2011Q4-base:1.12 pkgsrc-2011Q3:1.12.0.42 pkgsrc-2011Q3-base:1.12 pkgsrc-2011Q2:1.12.0.40 pkgsrc-2011Q2-base:1.12 pkgsrc-2011Q1:1.12.0.38 pkgsrc-2011Q1-base:1.12 pkgsrc-2010Q4:1.12.0.36 pkgsrc-2010Q4-base:1.12 pkgsrc-2010Q3:1.12.0.34 pkgsrc-2010Q3-base:1.12 pkgsrc-2010Q2:1.12.0.32 pkgsrc-2010Q2-base:1.12 pkgsrc-2010Q1:1.12.0.30 pkgsrc-2010Q1-base:1.12 pkgsrc-2009Q4:1.12.0.28 pkgsrc-2009Q4-base:1.12 pkgsrc-2009Q3:1.12.0.26 pkgsrc-2009Q3-base:1.12 pkgsrc-2009Q2:1.12.0.24 pkgsrc-2009Q2-base:1.12 pkgsrc-2009Q1:1.12.0.22 pkgsrc-2009Q1-base:1.12 pkgsrc-2008Q4:1.12.0.20 pkgsrc-2008Q4-base:1.12 pkgsrc-2008Q3:1.12.0.18 pkgsrc-2008Q3-base:1.12 cube-native-xorg:1.12.0.16 cube-native-xorg-base:1.12 pkgsrc-2008Q2:1.12.0.14 pkgsrc-2008Q2-base:1.12 cwrapper:1.12.0.12 pkgsrc-2008Q1:1.12.0.10 pkgsrc-2008Q1-base:1.12 pkgsrc-2007Q4:1.12.0.8 pkgsrc-2007Q4-base:1.12 pkgsrc-2007Q3:1.12.0.6 pkgsrc-2007Q3-base:1.12 pkgsrc-2007Q2:1.12.0.4 pkgsrc-2007Q2-base:1.12 pkgsrc-2007Q1:1.12.0.2 pkgsrc-2007Q1-base:1.12 pkgsrc-2006Q4:1.11.0.4 pkgsrc-2006Q4-base:1.11 pkgsrc-2006Q3:1.11.0.2 pkgsrc-2006Q3-base:1.11 pkgsrc-2006Q2:1.10.0.4 pkgsrc-2006Q2-base:1.10 pkgsrc-2006Q1:1.10.0.2 pkgsrc-2006Q1-base:1.10 pkgsrc-2005Q4:1.9.0.2 pkgsrc-2005Q4-base:1.9 pkgsrc-2005Q3:1.8.0.22 pkgsrc-2005Q3-base:1.8 pkgsrc-2005Q2:1.8.0.20 pkgsrc-2005Q2-base:1.8 pkgsrc-2005Q1:1.8.0.18 pkgsrc-2005Q1-base:1.8 pkgsrc-2004Q4:1.8.0.16 pkgsrc-2004Q4-base:1.8 pkgsrc-2004Q3:1.8.0.14 pkgsrc-2004Q3-base:1.8 pkgsrc-2004Q2:1.8.0.12 pkgsrc-2004Q2-base:1.8 pkgsrc-2004Q1:1.8.0.10 pkgsrc-2004Q1-base:1.8 pkgsrc-2003Q4:1.8.0.8 pkgsrc-2003Q4-base:1.8 netbsd-1-6-1:1.8.0.4 netbsd-1-6-1-base:1.8 netbsd-1-6:1.8.0.6 netbsd-1-6-RELEASE-base:1.8 pkgviews:1.8.0.2 pkgviews-base:1.8 buildlink2:1.7.0.2 buildlink2-base:1.8 netbsd-1-5-PATCH003:1.7 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.14 date 2021.01.03.00.42.55; author wiz; state dead; branches; next 1.13; commitid NG0sESQCsXnRodCC; 1.13 date 2012.10.25.08.28.20; author asau; state Exp; branches; next 1.12; 1.12 date 2007.01.06.22.45.49; author wiz; state Exp; branches; next 1.11; 1.11 date 2006.08.24.22.02.02; author salo; state Exp; branches; next 1.10; 1.10 date 2006.03.23.16.09.32; author yyamano; state Exp; branches 1.10.4.1; next 1.9; 1.9 date 2005.10.03.15.00.12; author wiz; state dead; branches; next 1.8; 1.8 date 2002.06.12.13.16.50; author seb; state Exp; branches; next 1.7; 1.7 date 2001.10.03.14.57.21; author seb; state Exp; branches 1.7.2.1; next 1.6; 1.6 date 2001.06.20.03.19.21; author jlam; state Exp; branches; next 1.5; 1.5 date 2000.05.19.11.03.34; author wiz; state dead; branches; next 1.4; 1.4 date 2000.05.04.01.33.06; author hubertf; state Exp; branches; next 1.3; 1.3 date 2000.04.21.08.52.49; author bouyer; state Exp; branches; next 1.2; 1.2 date 2000.04.20.07.06.30; author itojun; state Exp; branches; next 1.1; 1.1 date 2000.04.20.07.03.55; author itojun; state Exp; branches 1.1.1.1; next ; 1.10.4.1 date 2006.08.25.11.05.02; author ghen; state Exp; branches; next ; 1.7.2.1 date 2002.06.23.18.44.01; author jlam; state Exp; branches; next ; 1.1.1.1 date 2000.04.20.07.03.55; author itojun; state Exp; branches; next ; desc @@ 1.14 log @cscope: update to 15.9. Based on patch by Brad Harder on pkgsrc-users. Changes not found. @ text @$NetBSD: patch-aa,v 1.13 2012/10/25 08:28:20 asau Exp $ --- src/constants.h.orig 2012-04-07 14:12:07.000000000 +0000 +++ src/constants.h @@@@ -85,6 +85,13 @@@@ #define NUMLEN_STR STRINGIZE(NUMLEN) #define TEMPSTRING_LEN_STR STRINGIZE(TEMPSTRING_LEN) +#define STR2(x) #x +#define STRINGIZE(x) STR2(x) +#define PATLEN_STR STRINGIZE(PATLEN) +#define PATHLEN_STR STRINGIZE(PATHLEN) +#define NUMLEN_STR STRINGIZE(NUMLEN) +#define TEMPSTRING_LEN_STR STRINGIZE(TEMPSTRING_LEN) + /* screen lines */ #define FLDLINE (LINES - FIELDS - 1) /* first input field line */ #define MSGLINE 0 /* message line */ @@@@ -103,7 +110,7 @@@@ #define INCLUDES 8 #define FIELDS 10 -#if (BSD || V9) && !__NetBSD__ && !__FreeBSD__ +#if (BSD || V9) && !__NetBSD__ && !__FreeBSD__ && !__APPLE__ # define TERMINFO 0 /* no terminfo curses */ #else # define TERMINFO 1 @ 1.13 log @Update to cscope 15.8a Changes since 15.7a - Allow usage of function keys ctrl-f and ctrl-b even from result pane. - More informative display of position in a multi-screenful result set. - Handle source files with freaky large numbers of lines. - Search for assignment failed to recognize >>= and <<=, incorrectly recognized ~=, and was implemented somewhat clumsily. - Added vi plugin to read cscope db's - Tolerate C++ :: scope operator inside argument lists, too. - Bug fixes. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.12 2007/01/06 22:45:49 wiz Exp $ @ 1.12 log @Update to 15.6: Some security problems have been addressed, and overall stability has improved. There are no new features. (The security problems were already fixed in pkgsrc.) @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.11 2006/08/24 22:02:02 salo Exp $ d3 1 a3 1 --- src/constants.h.orig 2006-09-30 10:13:00.000000000 +0200 d5 1 a5 9 @@@@ -68,6 +68,7 @@@@ #define NUMLEN 5 /* line number length */ #define PATHLEN 250 /* file pathname length */ #define PATLEN 250 /* symbol pattern length */ +#define TEMPSTRING_LEN 8191 /* max strlen() of the global temp string */ #define TEMPSTRING_LEN 8191 /* max strlen() of the global temp string */ #define REFFILE "cscope.out" /* cross-reference output file */ #define NAMEFILE "cscope.files" /* default list-of-files file */ @@@@ -85,6 +86,13 @@@@ d19 1 a19 1 @@@@ -103,7 +111,7 @@@@ d21 1 a21 1 #define FIELDS 9 @ 1.11 log @Security fix for SA21601: "Will Drewry has reported some vulnerabilities in Cscope, which potentially can be exploited by malicious people to compromise a vulnerable system. 1) Various boundary errors within the parsing of file lists or the expansion of environment variables can be exploited to cause stack-based buffer overflows when parsing specially crafted "cscope.lists" files or directories. 2) A boundary error within the parsing of command line arguments can be exploited to cause a stack-based buffer overflow when supplying an overly long "reffile" argument. Successful exploitation may allow execution of arbitrary code." Patches adapted from cscope CVS. Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD$ d3 2 a4 2 --- src/constants.h.orig 2003-09-04 17:54:02.000000000 +0200 +++ src/constants.h 2006-08-24 23:49:25.000000000 +0200 d10 1 d13 3 a15 4 #define INVNAME "cscope.in.out" /* inverted index to the database */ @@@@ -77,6 +78,13 @@@@ #define STMTMAX 10000 /* maximum source statement length */ d27 1 a27 1 @@@@ -95,7 +103,7 @@@@ d31 3 a33 3 -#if (BSD || V9) && !__NetBSD__ +#if (BSD || V9) && !__NetBSD__ && !__APPLE__ #define TERMINFO 0 /* no terminfo curses */ d35 1 a35 1 #define TERMINFO 1 @ 1.10 log @Make this build on Darwin. @ text @d3 25 a27 3 --- src/constants.h.orig 2003-09-05 00:54:02.000000000 +0900 +++ src/constants.h @@@@ -95,7 +95,7 @@@@ @ 1.10.4.1 log @Pullup ticket 1808 - requested by salo security fix for cscope Revisions pulled up: - pkgsrc/devel/cscope/Makefile 1.45 - pkgsrc/devel/cscope/distinfo 1.15 - pkgsrc/devel/cscope/patches/patch-aa 1.11 - pkgsrc/devel/cscope/patches/patch-ae 1.9 - pkgsrc/devel/cscope/patches/patch-af 1.8 - pkgsrc/devel/cscope/patches/patch-ag 1.5 - pkgsrc/devel/cscope/patches/patch-ah 1.5 - pkgsrc/devel/cscope/patches/patch-ai 1.5 - pkgsrc/devel/cscope/patches/patch-aj 1.3 - pkgsrc/devel/cscope/patches/patch-ap 1. Module Name: pkgsrc Committed By: salo Date: Thu Aug 24 22:02:02 UTC 2006 Modified Files: pkgsrc/devel/cscope: Makefile distinfo pkgsrc/devel/cscope/patches: patch-aa patch-ae patch-af patch-ag patch-ah patch-ai patch-aj Added Files: pkgsrc/devel/cscope/patches: patch-ap Log Message: Security fix for SA21601: "Will Drewry has reported some vulnerabilities in Cscope, which potentially can be exploited by malicious people to compromise a vulnerable system. 1) Various boundary errors within the parsing of file lists or the expansion of environment variables can be exploited to cause stack-based buffer overflows when parsing specially crafted "cscope.lists" files or directories. 2) A boundary error within the parsing of command line arguments can be exploited to cause a stack-based buffer overflow when supplying an overly long "reffile" argument. Successful exploitation may allow execution of arbitrary code." Patches adapted from cscope CVS. Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.11 2006/08/24 22:02:02 salo Exp $ d3 3 a5 25 --- src/constants.h.orig 2003-09-04 17:54:02.000000000 +0200 +++ src/constants.h 2006-08-24 23:49:25.000000000 +0200 @@@@ -68,6 +68,7 @@@@ #define NUMLEN 5 /* line number length */ #define PATHLEN 250 /* file pathname length */ #define PATLEN 250 /* symbol pattern length */ +#define TEMPSTRING_LEN 8191 /* max strlen() of the global temp string */ #define REFFILE "cscope.out" /* cross-reference output file */ #define NAMEFILE "cscope.files" /* default list-of-files file */ #define INVNAME "cscope.in.out" /* inverted index to the database */ @@@@ -77,6 +78,13 @@@@ #define STMTMAX 10000 /* maximum source statement length */ +#define STR2(x) #x +#define STRINGIZE(x) STR2(x) +#define PATLEN_STR STRINGIZE(PATLEN) +#define PATHLEN_STR STRINGIZE(PATHLEN) +#define NUMLEN_STR STRINGIZE(NUMLEN) +#define TEMPSTRING_LEN_STR STRINGIZE(TEMPSTRING_LEN) + /* screen lines */ #define FLDLINE (LINES - FIELDS - 1) /* first input field line */ #define MSGLINE 0 /* message line */ @@@@ -95,7 +103,7 @@@@ @ 1.9 log @Update to 15.5: (2003/08/14 - broeker) Cleaned up man page, INSTALL and TODO files. (2003/08/14 - broeker) Have configure check for . Bail out if none found. (2003/08/14 - broeker) New options --help and --version. (2003/06/12 - broeker) New option -v to output progress updates even in line mode. To be used by interface kscope. (2003/06/02 - broeker) Use the basename of files only to test for SCCS/RCS files in -R traversal. (2003/04/29 - broeker) Check that a src file is a regular file before trying to scan it. Change from S_IFDIR/S_IFREG bit tests to macros S_ISDIR/S_ISREG. (2003/03/05 - broeker) Remove '-y' option from pipe call to utility "sort". It's long since deprecated, and some modern versions will barf seeing it. (2003/03/02 - broeker) Don't restrict to 14 character filenames any longer. (2003/01/23 - broeker) Update to latest auto* tools. First step towards integration of GNOME GUI version. (2002/12/11 - broeker) Get rid of deprecated ={...} style actions in egrep.y. Use plain {...} instead. (2002/10/29 - broeker) Fix bug #588671: disprefs was still 0 if only 1 very long reference output shown by curses display. (2002/08/27 - broeker) Fix bug #600494: use mygetenv() for HOME, and provide a fall-back if it's not there. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.8 2002/06/12 13:16:50 seb Exp $ d3 11 a13 22 --- configure.in.orig Mon Jul 2 17:48:55 2001 +++ configure.in @@@@ -52,8 +52,6 @@@@ dnl # ACNU_PROG_LEX fm AC_PROG_LEX # ----------- -dnl chg: probes for lib in /usr/local/lib -dnl sheesh you'd have thought that this was obvious enough to be done anyway AC_DEFUN(ACNU_PROG_LEX,[ dnl autoconf-2.14a dnl AH_CHECK_LIB(fl)dnl @@@@ -65,9 +63,7 @@@@ flex*) ac_lib=fl ;; *) ac_lib=l ;; esac - LDFLAGS='-L/usr/local/lib' - AC_CHECK_LIB($ac_lib, yywrap, LEXLIB="-L/usr/local/lib -l$ac_lib") - LDFLAGS= + AC_CHECK_LIB($ac_lib, yywrap, LEXLIB="-l$ac_lib") fi AC_SUBST(LEXLIB) ]) @ 1.8 log @Regen some patches so Solaris' /usr/bin/gpatch is happier with them. @ text @d1 1 a1 1 $NetBSD$ @ 1.7 log @Upgrade to version 15.3 Changes in release 15.3: Improvements, major bug fixes, XEmacs, Vim and web interface support Changes in release 15.1: Improvements to interface and major bug fixes @ text @d5 1 a5 7 @@@@ -48,12 +48,12 @@@@ ]) +# configure's patch is hand-trimmed after regen from patched configure.in + dnl === BEGIN aclocal REPLACEMENT MACROS d14 1 a14 1 @@@@ -65,9 +65,7 @@@@ @ 1.7.2.1 log @Merge from pkgsrc-current to buildlink2 branch. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.8 2002/06/12 13:16:50 seb Exp $ d5 7 a11 1 @@@@ -52,8 +52,6 @@@@ d20 1 a20 1 @@@@ -65,9 +63,7 @@@@ @ 1.6 log @Fix stupid change by package author that looked for files explicitly in /usr/local/lib and that explicitly set LDFLAGS to nothing. @ text @d3 18 a20 3 --- configure.orig Wed May 10 15:39:50 2000 +++ configure @@@@ -1344,7 +1344,6 @@@@ d25 1 a25 13 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6 echo "configure:1350: checking for yywrap in -l$ac_lib" >&5 ac_lib_var=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'` @@@@ -1380,12 +1379,11 @@@@ fi if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then echo "$ac_t""yes" 1>&6 - LEXLIB="-L/usr/local/lib -l$ac_lib" + LEXLIB="-l$ac_lib" else echo "$ac_t""no" 1>&6 fi d27 1 d29 2 a30 2 @ 1.5 log @Update to 15.0bl2. Changes: Bugfixes, better man page, code cleanup. Fixes pkg/10153. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.4 2000/05/04 01:33:06 hubertf Exp $ d3 19 a21 4 --- common/constants.h.orig Tue Apr 18 03:38:29 2000 +++ common/constants.h Thu May 4 03:25:23 2000 @@@@ -127,19 +127,24 @@@@ #endif d23 3 a25 12 #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 +#ifndef __NetBSD__ #if !sun #define cbreak() crmode() /* name change */ #endif +#endif a26 10 +#ifndef __NetBSD__ #if UNIXPC #define erasechar() (_tty.c_cc[VERASE]) /* equivalent */ #define killchar() (_tty.c_cc[VKILL]) /* equivalent */ #else #define erasechar() (_tty.sg_erase) /* equivalent */ #define killchar() (_tty.sg_kill) /* equivalent */ +#endif #endif #endif @ 1.4 log @ * split * don't change the name of cbreak to crmode if sun is not defined Hint by Brett Lymn , sent to me by Thomas Klausner. @ text @d1 1 a1 1 $NetBSD$ @ 1.3 log @Avoid compile-time warnings caused by redefinition of curses.h macros. @ text @d1 5 a5 9 $NetBSD: patch-aa,v 1.2 2000/04/20 07:06:30 itojun Exp $ Index: common/constants.h =================================================================== RCS file: /cvsroot/cscope/cscope/common/constants.h,v 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 @@@@ -127,19 +127,22 @@@@ d15 1 d19 1 a30 150 Index: common/display.c =================================================================== RCS file: /cvsroot/cscope/cscope/common/display.c,v retrieving revision 1.1.1.1 diff -u -r1.1.1.1 display.c --- common/display.c 2000/04/18 13:16:42 1.1.1.1 +++ common/display.c 2000/04/20 06:59:58 @@@@ -43,4 +43,7 @@@@ #endif #include /* LINES, COLS */ #include /* jmp_buf */ +#ifdef __NetBSD__ +#include +#endif Index: common/exec.c =================================================================== RCS file: /cvsroot/cscope/cscope/common/exec.c,v retrieving revision 1.1.1.1 diff -u -r1.1.1.1 exec.c --- common/exec.c 2000/04/18 13:16:42 1.1.1.1 +++ common/exec.c 2000/04/20 06:59:59 @@@@ -37,6 +37,10 @@@@ #include "global.h" #include +#ifdef __NetBSD__ +#include +#else #include +#endif #include @@@@ -46,7 +50,9 @@@@ static SIGTYPE (*oldsighup)(); /* old value of hangup signal */ static SIGTYPE (*oldsigstp)(); +#ifndef __NetBSD__ typedef int pid_t; +#endif static int join(), myexecvp(); static pid_t myfork(); Index: common/global.h =================================================================== RCS file: /cvsroot/cscope/cscope/common/global.h,v retrieving revision 1.1.1.1 diff -u -r1.1.1.1 global.h --- common/global.h 2000/04/18 13:16:43 1.1.1.1 +++ common/global.h 2000/04/20 06:59:59 @@@@ -46,10 +46,14 @@@@ #include "invlib.h" /* inverted index library */ #include "library.h" /* library function return values */ +#ifdef __NetBSD__ +#define SIGTYPE void +#else #if SVR2 || BSD && !sun #define SIGTYPE int #else #define SIGTYPE void +#endif #endif typedef enum { /* boolean data type */ Index: common/help.c =================================================================== RCS file: /cvsroot/cscope/cscope/common/help.c,v retrieving revision 1.1.1.1 diff -u -r1.1.1.1 help.c --- common/help.c 2000/04/18 13:16:43 1.1.1.1 +++ common/help.c 2000/04/20 06:59:59 @@@@ -132,6 +132,7 @@@@ ++ln; } } + move(ln, 0); (void) addstr(*tp++); } else { Index: common/input.c =================================================================== RCS file: /cvsroot/cscope/cscope/common/input.c,v retrieving revision 1.1.1.1 diff -u -r1.1.1.1 input.c --- common/input.c 2000/04/18 13:16:43 1.1.1.1 +++ common/input.c 2000/04/20 06:59:59 @@@@ -38,4 +38,7 @@@@ #include "global.h" #include #include /* jmp_buf */ +#ifdef __NetBSD__ +#include +#endif Index: common/library.h =================================================================== RCS file: /cvsroot/cscope/cscope/common/library.h,v retrieving revision 1.1.1.1 diff -u -r1.1.1.1 library.h --- common/library.h 2000/04/18 13:16:43 1.1.1.1 +++ common/library.h 2000/04/20 06:59:59 @@@@ -53,7 +53,12 @@@@ char *ctime(), *getcwd(), *getenv(), *mktemp(); char *strcat(), *strcpy(), *strncpy(), *strpbrk(), *strchr(), *strrchr(); char *strtok(); -long lseek(), time(); +#if BSD +off_t lseek(); +time_t time(); +#else +long lseek(); +#endif unsigned sleep(); void exit(), free(), qsort(); #if BSD Index: common/vpaccess.c =================================================================== RCS file: /cvsroot/cscope/cscope/common/vpaccess.c,v retrieving revision 1.1.1.1 diff -u -r1.1.1.1 vpaccess.c --- common/vpaccess.c 2000/04/18 13:16:44 1.1.1.1 +++ common/vpaccess.c 2000/04/20 06:59:59 @@@@ -37,7 +37,7 @@@@ #include #include #include "vp.h" -#ifdef CCS +#if defined(CCS) || defined(__NetBSD__) #include #else typedef int mode_t; Index: i386/Makefile =================================================================== RCS file: /cvsroot/cscope/cscope/i386/Makefile,v retrieving revision 1.2 diff -u -r1.2 Makefile --- i386/Makefile 2000/04/19 16:44:45 1.2 +++ i386/Makefile 2000/04/20 06:59:59 @@@@ -37,8 +37,8 @@@@ COMCS= ../common INCLIST= -I$(COMCS) -DEFLIST= -DLinux -LIBS= -lncurses -lfl +DEFLIST= -DBSD +LIBS= -lcurses -lfl INS= install INSDIR=/usr/local/bin @ 1.2 log @remove $Id$ in patch. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.1.1.1 2000/04/20 07:03:55 itojun Exp $ d9 11 a19 1 @@@@ -135,11 +135,13 @@@@ @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD$ d30 1 a30 1 @@@@ -43,6 +43,9 @@@@ a37 2 static char const rcsid[] = "$Id: display.c,v 1.1.1.1 2000/04/18 13:16:42 petr Exp $"; d45 1 a45 1 @@@@ -37,7 +37,11 @@@@ a55 1 static char const rcsid[] = "$Id: exec.c,v 1.1.1.1 2000/04/18 13:16:42 petr Exp $"; d110 1 a110 1 @@@@ -38,6 +38,9 @@@@ a116 2 static char const rcsid[] = "$Id: input.c,v 1.1.1.1 2000/04/18 13:16:43 petr Exp $"; @ 1.1.1.1 log @cscope 13.0, interactive C program browser @ text @@