summaryrefslogtreecommitdiff
path: root/wm/skippy
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2007-04-13 09:33:46 +0000
committerxtraeme <xtraeme@pkgsrc.org>2007-04-13 09:33:46 +0000
commit05a864ae28cce3262fa6ee53e3093f7e8b1261af (patch)
treeb07c042d101c1988c49a89e0996b8cd6c4dbb79b /wm/skippy
parentb11b78c922290528b56c2efaba39dd73a0e69b89 (diff)
downloadpkgsrc-05a864ae28cce3262fa6ee53e3093f7e8b1261af.tar.gz
Add patch missed in previous.
Diffstat (limited to 'wm/skippy')
-rw-r--r--wm/skippy/patches/patch-ab24
1 files changed, 24 insertions, 0 deletions
diff --git a/wm/skippy/patches/patch-ab b/wm/skippy/patches/patch-ab
new file mode 100644
index 00000000000..d9c3e5807dd
--- /dev/null
+++ b/wm/skippy/patches/patch-ab
@@ -0,0 +1,24 @@
+$NetBSD: patch-ab,v 1.1 2007/04/13 09:33:46 xtraeme Exp $
+
+--- config.c.orig 2007-04-13 04:46:28.000000000 +0200
++++ config.c 2007-04-13 04:48:03.000000000 +0200
+@@ -72,9 +72,9 @@
+ int ix = 0, l_ix = 0;
+ dlist *new_config = 0;
+
+- regcomp(&re_section, "^[[:space:]]*\\[[[:space:]]*([[:alnum:]]*?)[[:space:]]*\\][[:space:]]*$", REG_EXTENDED);
++ regcomp(&re_section, "^[[:space:]]*\\[[[:space:]]*([[:alnum:]]*)[[:space:]]*\\][[:space:]]*$", REG_EXTENDED);
+ regcomp(&re_empty, "^[[:space:]]*#|^[[:space:]]*$", REG_EXTENDED);
+- regcomp(&re_entry, "^[[:space:]]*([[:alnum:]]+)[[:space:]]*=[[:space:]]*(.*?)[[:space:]]*$", REG_EXTENDED);
++ regcomp(&re_entry, "^[[:space:]]*([[:alnum:]]+)[[:space:]]*=[[:space:]]*(.*)[[:space:]]*$", REG_EXTENDED);
+
+ while(1)
+ {
+@@ -148,6 +148,7 @@
+ fclose(fin);
+ return 0;
+ }
++ data[flen] = '\0';
+
+ fclose(fin);
+