From 6b90dfbbae83073f7af0abf1c11a27060ad80c66 Mon Sep 17 00:00:00 2001 From: Caolan McNamara Date: Thu, 6 May 2010 13:39:58 +0000 Subject: [PATCH] latest version --- .cvsignore | 2 +- hunspell-1.2.10.wrongmalloc.patch | 12 ------------ hunspell.spec | 10 ++++------ sources | 2 +- 4 files changed, 6 insertions(+), 20 deletions(-) delete mode 100644 hunspell-1.2.10.wrongmalloc.patch diff --git a/.cvsignore b/.cvsignore index 0a204f8..cd806a3 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -hunspell-1.2.10.tar.gz +hunspell-1.2.11.tar.gz diff --git a/hunspell-1.2.10.wrongmalloc.patch b/hunspell-1.2.10.wrongmalloc.patch deleted file mode 100644 index e841f3c..0000000 --- a/hunspell-1.2.10.wrongmalloc.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -ru hunspell-1.2.10.orig/src/hunspell/affixmgr.cxx hunspell-1.2.10/src/hunspell/affixmgr.cxx ---- hunspell-1.2.10.orig/src/hunspell/affixmgr.cxx 2010-05-06 09:39:14.000000000 +0100 -+++ hunspell-1.2.10/src/hunspell/affixmgr.cxx 2010-05-06 09:45:42.000000000 +0100 -@@ -3833,7 +3833,7 @@ - case 1: { - int setn = 0; - maptable[j].len = strlen(piece); -- maptable[j].set = (char **) malloc(maptable[j].len * sizeof(int)); -+ maptable[j].set = (char **) malloc(maptable[j].len * sizeof(char*)); - if (!maptable[j].set) return 1; - for (int k = 0; k < maptable[j].len; k++) { - int chl = 1; diff --git a/hunspell.spec b/hunspell.spec index 0d321d3..fbdd51c 100644 --- a/hunspell.spec +++ b/hunspell.spec @@ -1,14 +1,13 @@ Name: hunspell Summary: A spell checker and morphological analyzer library -Version: 1.2.10 -Release: 2%{?dist} +Version: 1.2.11 +Release: 1%{?dist} Source: http://downloads.sourceforge.net/%{name}/hunspell-%{version}.tar.gz Group: System Environment/Libraries URL: http://hunspell.sourceforge.net/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) License: LGPLv2+ or GPLv2+ or MPLv1.1 BuildRequires: ncurses-devel -Patch0: hunspell-1.2.10.wrongmalloc.patch %description Hunspell is a spell checker and morphological analyzer library and program @@ -26,7 +25,6 @@ Includes and definitions for developing with hunspell %prep %setup -q -%patch0 -p1 -b .wrongmalloc.patch %build %configure --disable-rpath --disable-static --with-ui --with-readline @@ -82,8 +80,8 @@ rm -rf $RPM_BUILD_ROOT %{_mandir}/man3/hunspell.3.gz %changelog -* Thu May 06 2010 Caolan McNamara - 1.2.10-2 -- Resolves: rhbz#589326 hunspell-1.2.10.wrongmalloc.patch +* Thu May 06 2010 Caolan McNamara - 1.2.11-1 +- Resolves: rhbz#589326 wrong malloc * Fri Apr 30 2010 Caolan McNamara - 1.2.10-1 - latest version diff --git a/sources b/sources index bbfa6a0..89902ef 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -cc701ae1015e5442e85d592c325ea8aa hunspell-1.2.10.tar.gz +8f57cdc4db091d69e1f682ed4d8ab282 hunspell-1.2.11.tar.gz