handle some other interesting edge-cases

This commit is contained in:
Caolan McNamara 2009-07-30 07:30:30 +00:00
parent caf62bc018
commit 21191eb3ab
2 changed files with 5 additions and 2 deletions

View File

@ -74,7 +74,7 @@ diff -ru hunspell-1.2.8.orig/src/tools/hunspell.cxx hunspell-1.2.8/src/tools/hun
+ }
+ }
+
+ if (strcmp(dicname, "C") == 0)
+ if ((strcmp(dicname, "C") == 0) || (strcmp(dicname, "POSIX") == 0))
+ dicname=mystrdup("en_US");
+
+ if (! dicname) {

View File

@ -1,7 +1,7 @@
Name: hunspell
Summary: A spell checker and morphological analyzer library
Version: 1.2.8
Release: 11%{?dist}
Release: 12%{?dist}
Source0: http://downloads.sourceforge.net/%{name}/hunspell-%{version}.tar.gz
Source1: http://people.debian.org/~agmartin/misc/ispellaff2myspell
Source2: http://people.redhat.com/caolanm/hunspell/wordlist2hunspell
@ -125,6 +125,9 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man3/hunspell.3.gz
%changelog
* Thu Jul 30 2009 Caolan McNamara <caolanm@redhat.com> - 1.2.8-12
- handle some other interesting edge-cases
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.8-11
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild