From 21191eb3aba05295ca5d14a3d314030cfc7ebc37 Mon Sep 17 00:00:00 2001 From: Caolan McNamara Date: Thu, 30 Jul 2009 07:30:30 +0000 Subject: [PATCH] handle some other interesting edge-cases --- hunspell-1.2.8-2784983.defaultlanguage.patch | 2 +- hunspell.spec | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/hunspell-1.2.8-2784983.defaultlanguage.patch b/hunspell-1.2.8-2784983.defaultlanguage.patch index 1ff91e0..a7abc1c 100644 --- a/hunspell-1.2.8-2784983.defaultlanguage.patch +++ b/hunspell-1.2.8-2784983.defaultlanguage.patch @@ -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) { diff --git a/hunspell.spec b/hunspell.spec index 2ffb660..0fde927 100644 --- a/hunspell.spec +++ b/hunspell.spec @@ -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 - 1.2.8-12 +- handle some other interesting edge-cases + * Fri Jul 24 2009 Fedora Release Engineering - 1.2.8-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild