summaryrefslogtreecommitdiff
path: root/devel/cscope/patches/patch-ag
diff options
context:
space:
mode:
Diffstat (limited to 'devel/cscope/patches/patch-ag')
-rw-r--r--devel/cscope/patches/patch-ag19
1 files changed, 19 insertions, 0 deletions
diff --git a/devel/cscope/patches/patch-ag b/devel/cscope/patches/patch-ag
new file mode 100644
index 00000000000..a136aa70f4a
--- /dev/null
+++ b/devel/cscope/patches/patch-ag
@@ -0,0 +1,19 @@
+$NetBSD: patch-ag,v 1.1 2000/05/04 01:33:07 hubertf Exp $
+
+diff -x *.orig -urN ./common/library.h /disk1/cvs/pkgsrc/devel/cscope/work.i386.unpatched/cscope-13.0/common/library.h
+--- ./common/library.h Tue Apr 18 03:41:11 2000
++++ /disk1/cvs/pkgsrc/devel/cscope/work.i386.unpatched/cscope-13.0/common/library.h Thu May 4 03:24:27 2000
+@@ -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