summaryrefslogtreecommitdiff
path: root/textproc/aspell/patches/patch-aa
blob: 99c29a4a0a27d8b9d9a4ffd208955b7e9810e577 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-aa,v 1.11 2008/09/22 08:53:14 wiz Exp $

http://sourceforge.net/tracker/index.php?func=detail&aid=2016300&group_id=245&atid=100245

--- gen/mk-static-filter.pl.orig	2007-12-03 06:43:09.000000000 +0000
+++ gen/mk-static-filter.pl
@@ -159,7 +159,7 @@ while ($filter = shift @filterhashes) {
   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 {