SOURCES: aspell-mk-static-filter.pl.patch (NEW) - fix generation of filter ...

baggins baggins at pld-linux.org
Wed Dec 3 16:42:57 CET 2008


Author: baggins                      Date: Wed Dec  3 15:42:57 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fix generation of filter configuration keys

---- Files affected:
SOURCES:
   aspell-mk-static-filter.pl.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/aspell-mk-static-filter.pl.patch
diff -u /dev/null SOURCES/aspell-mk-static-filter.pl.patch:1.1
--- /dev/null	Wed Dec  3 16:42:58 2008
+++ SOURCES/aspell-mk-static-filter.pl.patch	Wed Dec  3 16:42:52 2008
@@ -0,0 +1,11 @@
+--- gen/mk-static-filter.pl.orig	2007-12-03 07:43:09.000000000 +0100
++++ gen/mk-static-filter.pl	2008-04-18 22:34:26.000000000 +0200
+@@ -159,7 +159,7 @@
+   printf STATICFILTERS "\n  const KeyInfo * ".${$filter}{"NAME"}."_options_begin = ".
+                                               ${$filter}{"NAME"}."_options;\n";
+   # If structure is empty, set options_end to same as options_begin.
+-  if (%{$filter}) {
++  if ($firstopt) {
+     printf STATICFILTERS "\n  const KeyInfo * ".${$filter}{"NAME"}."_options_end = ".
+                                                 ${$filter}{"NAME"}."_options;\n";
+   } else {
================================================================


More information about the pld-cvs-commit mailing list