latest version
This commit is contained in:
parent
559dc19014
commit
6b90dfbbae
@ -1 +1 @@
|
||||
hunspell-1.2.10.tar.gz
|
||||
hunspell-1.2.11.tar.gz
|
||||
|
@ -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;
|
@ -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 <caolanm@redhat.com> - 1.2.10-2
|
||||
- Resolves: rhbz#589326 hunspell-1.2.10.wrongmalloc.patch
|
||||
* Thu May 06 2010 Caolan McNamara <caolanm@redhat.com> - 1.2.11-1
|
||||
- Resolves: rhbz#589326 wrong malloc
|
||||
|
||||
* Fri Apr 30 2010 Caolan McNamara <caolanm@redhat.com> - 1.2.10-1
|
||||
- latest version
|
||||
|
Loading…
Reference in New Issue
Block a user