summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/cscope/files')
-rw-r--r--dev-util/cscope/files/cscope-15.6-darwin.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/dev-util/cscope/files/cscope-15.6-darwin.patch b/dev-util/cscope/files/cscope-15.6-darwin.patch
new file mode 100644
index 000000000000..e755f3257efd
--- /dev/null
+++ b/dev-util/cscope/files/cscope-15.6-darwin.patch
@@ -0,0 +1,11 @@
+--- a/src/constants.h
++++ b/src/constants.h
+@@ -103,7 +103,7 @@
+ #define INCLUDES 8
+ #define FIELDS 9
+
+-#if (BSD || V9) && !__NetBSD__ && !__FreeBSD__
++#if (BSD || V9) && !__NetBSD__ && !__FreeBSD__ && !__MACH__
+ # define TERMINFO 0 /* no terminfo curses */
+ #else
+ # define TERMINFO 1