summaryrefslogtreecommitdiff
path: root/dev-util/cscope/files
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:57:42 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:57:42 +0100
commit1798c4aeca70ac8d0a243684d6a798fbc65735f8 (patch)
treee48e19cb6fa03de18e1c63e1a93371b7ebc4eb56 /dev-util/cscope/files
parentd87262dd706fec50cd150aab3e93883b6337466d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-util/cscope/files')
-rw-r--r--dev-util/cscope/files/50cscope-gentoo.el34
-rw-r--r--dev-util/cscope/files/cscope-15.6-darwin.patch11
-rw-r--r--dev-util/cscope/files/cscope-15.7a-ocs-sysdir.patch23
3 files changed, 0 insertions, 68 deletions
diff --git a/dev-util/cscope/files/50cscope-gentoo.el b/dev-util/cscope/files/50cscope-gentoo.el
deleted file mode 100644
index 08fd4b449352..000000000000
--- a/dev-util/cscope/files/50cscope-gentoo.el
+++ /dev/null
@@ -1,34 +0,0 @@
-(add-to-list 'load-path "@SITELISP@")
-
-(autoload 'cscope-minor-mode "xcscope")
-(autoload 'cscope-display-buffer "xcscope"
- "Display the *cscope* buffer." t)
-(autoload 'cscope-display-buffer-toggle "xcscope"
- "Toggle cscope-display-cscope-buffer, which corresponds to
-\"Auto display *cscope* buffer\"." t)
-(autoload 'cscope-next-symbol "xcscope"
- "Move to the next symbol in the *cscope* buffer." t)
-(autoload 'cscope-next-file "xcscope"
- "Move to the next file in the *cscope* buffer." t)
-(autoload 'cscope-prev-symbol "xcscope"
- "Move to the previous symbol in the *cscope* buffer." t)
-(autoload 'cscope-prev-file "xcscope"
- "Move to the previous file in the *cscope* buffer." t)
-(autoload 'cscope-pop-mark "xcscope"
- "Pop back to where cscope was last invoked." t)
-(autoload 'cscope-set-initial-directory "xcscope"
- "Set the cscope-initial-directory variable." t)
-(autoload 'cscope-unset-initial-directory "xcscope"
- "Unset the cscope-initial-directory variable." t)
-(autoload 'cscope-find-this-symbol "xcscope"
- "Locate a symbol in source code." t)
-(autoload 'cscope-find-global-definition "xcscope"
- "Find a symbol's global definition." t)
-(autoload 'cscope-find-global-definition-no-prompting "xcscope"
- "Find a symbol's global definition without prompting." t)
-
-(defun cscope:hook ()
- (cscope-minor-mode))
-(add-hook 'c-mode-hook 'cscope:hook)
-(add-hook 'c++-mode-hook 'cscope:hook)
-(add-hook 'dired-mode-hook 'cscope:hook)
diff --git a/dev-util/cscope/files/cscope-15.6-darwin.patch b/dev-util/cscope/files/cscope-15.6-darwin.patch
deleted file mode 100644
index e755f3257efd..000000000000
--- a/dev-util/cscope/files/cscope-15.6-darwin.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- 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
diff --git a/dev-util/cscope/files/cscope-15.7a-ocs-sysdir.patch b/dev-util/cscope/files/cscope-15.7a-ocs-sysdir.patch
deleted file mode 100644
index 6b4c17fe9145..000000000000
--- a/dev-util/cscope/files/cscope-15.7a-ocs-sysdir.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-http://bugs.gentoo.org/269305
-
---- cscope-15.7a-orig/contrib/ocs 2004-06-21 20:13:22.000000000 +0200
-+++ cscope-15.7a/contrib/ocs 2009-05-11 22:33:51.000000000 +0200
-@@ -75,17 +75,10 @@
-
- #set the default value for SYSDIR
- if [ -z "${SYSDIR}" ]; then
-- SYSDIR=/usr/local/lib/cs
-+ SYSDIR=/var/lib/cs
- echo setting default sysdir
- fi
-
--#check that SYSDIR exists
--if [ ! -d ${SYSDIR} ]; then
-- echo -n $SYSDIR does not exist.
-- echo Please create the directory and set SYSDIR appropriately
-- exit
--fi
--
- # Check that cscope is in PATH
- type cscope 1>/dev/null 2>&1
-