From 448ffcdefb8557c7ee4bf722840649d47d696421 Mon Sep 17 00:00:00 2001 From: Caolan McNamara Date: Fri, 30 Apr 2010 10:12:49 +0000 Subject: [PATCH] latest version --- .cvsignore | 2 +- hunspell-1.2.9-stacksmash.patch | 28 ---------------------------- hunspell.spec | 10 +++++----- sources | 2 +- 4 files changed, 7 insertions(+), 35 deletions(-) delete mode 100644 hunspell-1.2.9-stacksmash.patch diff --git a/.cvsignore b/.cvsignore index 19f3b65..0a204f8 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -hunspell-1.2.9.tar.gz +hunspell-1.2.10.tar.gz diff --git a/hunspell-1.2.9-stacksmash.patch b/hunspell-1.2.9-stacksmash.patch deleted file mode 100644 index e0a1918..0000000 --- a/hunspell-1.2.9-stacksmash.patch +++ /dev/null @@ -1,28 +0,0 @@ ---- hunspell-1.2.8/src/hunspell/hunspell.cxx 2010-03-04 10:25:06.000000000 +0000 -+++ hunspell-1.2.8/src/hunspell/hunspell.cxx 2010-03-04 10:25:38.000000000 +0000 -@@ -1658,7 +1658,7 @@ - if (!q2) return 0; // bad XML input - if (check_xml_par(q, "type=", "analyze")) { - int n = 0, s = 0; -- if (get_xml_par(cw, strchr(q2, '>'), MAXWORDUTF8LEN)) n = analyze(slst, cw); -+ if (get_xml_par(cw, strchr(q2, '>'), MAXWORDUTF8LEN - 1)) n = analyze(slst, cw); - if (n == 0) return 0; - // convert the result to ana1ana2 format - for (int i = 0; i < n; i++) s+= strlen((*slst)[i]); -@@ -1679,13 +1679,13 @@ - (*slst)[0] = r; - return 1; - } else if (check_xml_par(q, "type=", "stem")) { -- if (get_xml_par(cw, strchr(q2, '>'), MAXWORDUTF8LEN)) return stem(slst, cw); -+ if (get_xml_par(cw, strchr(q2, '>'), MAXWORDUTF8LEN - 1)) return stem(slst, cw); - } else if (check_xml_par(q, "type=", "generate")) { -- int n = get_xml_par(cw, strchr(q2, '>'), MAXWORDUTF8LEN); -+ int n = get_xml_par(cw, strchr(q2, '>'), MAXWORDUTF8LEN - 1); - if (n == 0) return 0; - char * q3 = strstr(q2 + 1, "'), MAXWORDUTF8LEN)) { -+ if (get_xml_par(cw2, strchr(q3, '>'), MAXWORDUTF8LEN - 1)) { - return generate(slst, cw, cw2); - } - } else { diff --git a/hunspell.spec b/hunspell.spec index 8c285d9..ca10e89 100644 --- a/hunspell.spec +++ b/hunspell.spec @@ -1,7 +1,7 @@ Name: hunspell Summary: A spell checker and morphological analyzer library -Version: 1.2.9 -Release: 2%{?dist} +Version: 1.2.10 +Release: 1%{?dist} Source: http://downloads.sourceforge.net/%{name}/hunspell-%{version}.tar.gz Group: System Environment/Libraries URL: http://hunspell.sourceforge.net/ @@ -9,8 +9,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) License: LGPLv2+ or GPLv2+ or MPLv1.1 BuildRequires: ncurses-devel -Patch0: hunspell-1.2.9-stacksmash.patch - %description Hunspell is a spell checker and morphological analyzer library and program designed for languages with rich morphology and complex word compounding or @@ -27,7 +25,6 @@ Includes and definitions for developing with hunspell %prep %setup -q -%patch0 -p1 -b .stacksmash %build %configure --disable-rpath --disable-static --with-ui --with-readline @@ -83,6 +80,9 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man3/hunspell.3.gz %changelog +* Fri Apr 30 2010 Caolan McNamara - 1.2.10-1 +- latest version + * Thu Mar 04 2010 Caolan McNamara - 1.2.9-2 - Resolves: ooo#107768 hunspell-1.2.9-stacksmash.patch diff --git a/sources b/sources index 5282ad9..bbfa6a0 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -68dd2e8253d9a7930e9fd50e2d7220d0 hunspell-1.2.9.tar.gz +cc701ae1015e5442e85d592c325ea8aa hunspell-1.2.10.tar.gz