summaryrefslogtreecommitdiff
path: root/devel/cscope
diff options
context:
space:
mode:
authoryyamano <yyamano@pkgsrc.org>2006-03-23 16:09:32 +0000
committeryyamano <yyamano@pkgsrc.org>2006-03-23 16:09:32 +0000
commite157c8fb669b410c9b458bcfedc9b9f23eeff10d (patch)
treef69c6e934dbdbc1c1b5f4a2d3a9b82e71b72cb8c /devel/cscope
parent1c41f5e45478543293b34991a9772a72409cdeee (diff)
downloadpkgsrc-e157c8fb669b410c9b458bcfedc9b9f23eeff10d.tar.gz
Make this build on Darwin.
Diffstat (limited to 'devel/cscope')
-rw-r--r--devel/cscope/distinfo4
-rw-r--r--devel/cscope/patches/patch-aa13
-rw-r--r--devel/cscope/patches/patch-ab13
3 files changed, 29 insertions, 1 deletions
diff --git a/devel/cscope/distinfo b/devel/cscope/distinfo
index b22a174df9f..d9bbda39273 100644
--- a/devel/cscope/distinfo
+++ b/devel/cscope/distinfo
@@ -1,8 +1,10 @@
-$NetBSD: distinfo,v 1.11 2005/10/03 15:00:12 wiz Exp $
+$NetBSD: distinfo,v 1.12 2006/03/23 16:09:32 yyamano Exp $
SHA1 (cscope-15.5.tar.gz) = 2e8e66735254328399dc50757b270bcc3e9002d3
RMD160 (cscope-15.5.tar.gz) = 30623f07043abc90d76b384c407abe5813a8a716
Size (cscope-15.5.tar.gz) = 243793 bytes
+SHA1 (patch-aa) = 8350f5bd050fac10c5b5b5dcd7c04e7f3a883324
+SHA1 (patch-ab) = 646512ad53b3f3e7dab607df4c6c3d775587a03c
SHA1 (patch-ac) = 40a69af0eb5419de827b490c960803a736040f2c
SHA1 (patch-ad) = 7e0f25b67f3476ac90b7541595649d6a6bf65aa9
SHA1 (patch-af) = fbccbdcbf195a5852ff35be36446c471daf36cd5
diff --git a/devel/cscope/patches/patch-aa b/devel/cscope/patches/patch-aa
new file mode 100644
index 00000000000..ceafdd5fb4d
--- /dev/null
+++ b/devel/cscope/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.10 2006/03/23 16:09:32 yyamano Exp $
+
+--- src/constants.h.orig 2003-09-05 00:54:02.000000000 +0900
++++ src/constants.h
+@@ -95,7 +95,7 @@
+ #define INCLUDES 8
+ #define FIELDS 9
+
+-#if (BSD || V9) && !__NetBSD__
++#if (BSD || V9) && !__NetBSD__ && !__APPLE__
+ #define TERMINFO 0 /* no terminfo curses */
+ #else
+ #define TERMINFO 1
diff --git a/devel/cscope/patches/patch-ab b/devel/cscope/patches/patch-ab
new file mode 100644
index 00000000000..834daf8ac84
--- /dev/null
+++ b/devel/cscope/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.10 2006/03/23 16:09:32 yyamano Exp $
+
+--- src/egrep.y.orig 2002-12-11 23:39:10.000000000 +0900
++++ src/egrep.y
+@@ -605,7 +605,7 @@ done: (void) fclose(fptr);
+
+ /* FIXME HBB: should export this to a separate file and use
+ * AC_REPLACE_FUNCS() */
+-#if BSD
++#if !STDC_HEADERS && !defined(HAVE_MEMSET) && !defined(HAVE_MEMORY_H)
+ /*LINTLIBRARY*/
+ /*
+ * Set an array of n chars starting at sp to the character c.