diff options
Diffstat (limited to 'dev-util/ctags/files')
-rw-r--r-- | dev-util/ctags/files/ctags-5.6-ebuilds.patch | 22 | ||||
-rw-r--r-- | dev-util/ctags/files/ctags-5.7-python-vars-starting-with-def.patch | 11 | ||||
-rw-r--r-- | dev-util/ctags/files/ctags-ada.patch | 30 |
3 files changed, 63 insertions, 0 deletions
diff --git a/dev-util/ctags/files/ctags-5.6-ebuilds.patch b/dev-util/ctags/files/ctags-5.6-ebuilds.patch new file mode 100644 index 0000000..5b0de66 --- /dev/null +++ b/dev-util/ctags/files/ctags-5.6-ebuilds.patch @@ -0,0 +1,22 @@ +diff -ur ctags-5.6/sh.c ctags-5.6-ebuild/sh.c +--- ctags-5.6/sh.c 2006-05-30 00:37:13.000000000 -0400 ++++ ctags-5.6-ebuild/sh.c 2006-10-07 17:37:31.000000000 -0400 +@@ -7,7 +7,8 @@ + * GNU General Public License. + * + * This module contains functions for generating tags for scripts for the +-* Bourne shell (and its derivatives, the Korn and Z shells). ++* Bourne shell (and its derivatives, the Korn and Z shells), along with some ++* specialised kinds of shell scripts (Gentoo ebuilds and eclasses). + */ + + /* +@@ -102,7 +103,7 @@ + extern parserDefinition* ShParser (void) + { + static const char *const extensions [] = { +- "sh", "SH", "bsh", "bash", "ksh", "zsh", NULL ++ "sh", "SH", "bsh", "bash", "ksh", "zsh", "ebuild", "eclass", NULL + }; + parserDefinition* def = parserNew ("Sh"); + def->kinds = ShKinds; diff --git a/dev-util/ctags/files/ctags-5.7-python-vars-starting-with-def.patch b/dev-util/ctags/files/ctags-5.7-python-vars-starting-with-def.patch new file mode 100644 index 0000000..a20007a --- /dev/null +++ b/dev-util/ctags/files/ctags-5.7-python-vars-starting-with-def.patch @@ -0,0 +1,11 @@ +--- python.c 2008-03-26 20:31:26.000000000 +0200 ++++ python.c 2008-03-26 20:31:35.000000000 +0200 +@@ -185,7 +185,7 @@ + while (*cp) + { + cp = skipEverything (cp); +- if (!strncmp(cp, "def", 3) || !strncmp(cp, "class", 5)) ++ if (!strncmp(cp, "def ", 4) || !strncmp(cp, "class ", 6)) + { + return cp; + } diff --git a/dev-util/ctags/files/ctags-ada.patch b/dev-util/ctags/files/ctags-ada.patch new file mode 100644 index 0000000..b130fb9 --- /dev/null +++ b/dev-util/ctags/files/ctags-ada.patch @@ -0,0 +1,30 @@ +diff -ru ctags-5.6-orig/parsers.h ctags-5.6/parsers.h +--- ctags-5.6-orig/parsers.h 2006-05-30 06:37:12.000000000 +0200 ++++ ctags-5.6/parsers.h 2007-06-16 18:38:31.000000000 +0200 +@@ -16,6 +16,7 @@ + + /* Add the name of any new parser definition function here */ + #define PARSER_LIST \ ++ AdaParser, \ + AsmParser, \ + AspParser, \ + AwkParser, \ +diff -ru ctags-5.6-orig/source.mak ctags-5.6/source.mak +--- ctags-5.6-orig/source.mak 2004-06-10 05:01:17.000000000 +0200 ++++ ctags-5.6/source.mak 2007-06-16 18:37:40.000000000 +0200 +@@ -8,6 +8,7 @@ + strlist.h vstring.h + + SOURCES = \ ++ ada.c \ + args.c \ + asm.c \ + asp.c \ +@@ -58,6 +59,7 @@ + argproc.c mac.c qdos.c + + OBJECTS = \ ++ ada.$(OBJEXT) \ + args.$(OBJEXT) \ + asm.$(OBJEXT) \ + asp.$(OBJEXT) \ |