1
Author: Damián Viano <des@debian.org>
2
Description: Add support for having 'Source:' and 'Package:' as tags in a
3
RFC2822 file as debian/control
4
--- geany.orig/tagmanager/conf.c
5
+++ geany/tagmanager/conf.c
7
#include "general.h" /* must always come first */
19
+ /* look for a stanza */
20
+ if (*cp != '\0' && (strncmp((const char*) cp, "Source:", 7) == 0 ||
21
+ strncmp((const char*) cp, "Package:", 8) == 0))
23
+ cp = (const unsigned char*) strchr((const char*) cp, ':') + 1;
24
+ while (isspace ((int) *cp))
26
+ vStringCopyS (name, (const char*) cp);
27
+ vStringTerminate (name);
28
+ makeSimpleTag (name, ConfKinds, K_SECTION);
29
+ vStringClear (name);