diff --git a/aspell-make-static-filters.patch b/aspell-make-static-filters.patch new file mode 100644 index 0000000..6f427b4 --- /dev/null +++ b/aspell-make-static-filters.patch @@ -0,0 +1,11 @@ +--- gen/mk-static-filter.pl ++++ gen/mk-static-filter.pl +@@ -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 { diff --git a/aspell.changes b/aspell.changes index 247181e..a08cbc3 100644 --- a/aspell.changes +++ b/aspell.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Nov 20 18:07:06 CET 2008 - pgajdos@suse.cz + +- fixed wrong static filter handling [bnc#441008] + ------------------------------------------------------------------- Thu Oct 30 12:34:56 CET 2008 - olh@suse.de diff --git a/aspell.spec b/aspell.spec index 8cf941c..62dd2e2 100644 --- a/aspell.spec +++ b/aspell.spec @@ -36,7 +36,7 @@ Obsoletes: aspell-32bit %endif # Version: 0.60.6 -Release: 24 +Release: 25 Summary: A Free and Open Source Spell Checker Url: http://aspell.net/ Source: aspell-%{version}.tar.bz2 @@ -45,6 +45,7 @@ Patch1: aspell-strict-aliasing.patch Patch3: aspell-quotes.patch Patch4: aspell-epmty_file.patch #Patch5: aspell-gcc4_3.patch +Patch6: aspell-make-static-filters.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Suggests: aspell-ispell @@ -61,6 +62,10 @@ dictionaries when more than one Aspell process is open at once. +Authors: +-------- + Kevin Atkinson kevina@gnu.org + %package devel License: LGPL v2.1 or later Provides: pspell-devel @@ -76,6 +81,10 @@ to develop applications that require these. +Authors: +-------- + Kevin Atkinson kevina@gnu.org + %package ispell License: LGPL v2.1 or later Requires: aspell = %{version} @@ -101,6 +110,7 @@ dictionaries when more than one Aspell process is open at once. %patch1 %patch3 %patch4 +%patch6 %build #%{suse_update_config} @@ -116,7 +126,7 @@ CXXFLAGS="$RPM_OPT_FLAGS" \ --infodir=%{_infodir} \ --mandir=%{_mandir} \ --enable-curses=%{_libdir}/libncursesw.so \ - --enable-static + --enable-static # dictionary files depend on endian, needs fix, then posible # --enable-pkgdatadir=%{_prefix}/share/aspell-0.60 \ # --enable-dict-dir=%{_prefix}/share/aspell-0.60 \ @@ -187,6 +197,8 @@ rm -rf $RPM_BUILD_ROOT %{_bindir}/ispell %changelog +* Thu Nov 20 2008 pgajdos@suse.cz +- fixed wrong static filter handling [bnc#441008] * Thu Oct 30 2008 olh@suse.de - obsolete old -XXbit packages (bnc#437293) * Tue Sep 09 2008 pgajdos@suse.cz