next version
This commit is contained in:
parent
d1f39d7b9c
commit
adc0fb2d8b
@ -1 +1 @@
|
||||
hunspell-1.1.6.tar.gz
|
||||
hunspell-1.1.7.tar.gz
|
||||
|
@ -1,17 +0,0 @@
|
||||
diff -ru hunspell-1.1.5.orig/src/hunspell/hunspell.cxx hunspell-1.1.5/src/hunspell/hunspell.cxx
|
||||
--- hunspell-1.1.5.orig/src/hunspell/hunspell.cxx 2007-06-29 12:12:57.000000000 +0100
|
||||
+++ hunspell-1.1.5/src/hunspell/hunspell.cxx 2007-06-29 12:18:31.000000000 +0100
|
||||
@@ -1674,7 +1674,12 @@
|
||||
if (!word) return 0;
|
||||
char * m = morph(word);
|
||||
if(!m) return 0;
|
||||
- if (!out) return line_tok(m, out);
|
||||
+ if (!out)
|
||||
+ {
|
||||
+ n = line_tok(m, out);
|
||||
+ free(m)
|
||||
+ return n;
|
||||
+ }
|
||||
|
||||
// without memory allocation
|
||||
/* BUG missing buffer size checking */
|
@ -1,6 +1,6 @@
|
||||
Name: hunspell
|
||||
Summary: Hunspell is a spell checker and morphological analyzer library
|
||||
Version: 1.1.6
|
||||
Version: 1.1.7
|
||||
Release: 1%{?dist}
|
||||
Source: http://downloads.sourceforge.net/%{name}/hunspell-%{version}.tar.gz
|
||||
Group: System Environment/Libraries
|
||||
@ -9,7 +9,6 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
License: LGPL
|
||||
|
||||
BuildRequires: libtool, ncurses-devel
|
||||
Patch0: hunspell-1.1.5.freem.patch
|
||||
|
||||
%description
|
||||
Hunspell is a spell checker and morphological analyzer library and program
|
||||
@ -27,7 +26,6 @@ Includes and definitions for developing with hunspell
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1 -b .freem.patch
|
||||
|
||||
%build
|
||||
libtoolize --automake --force
|
||||
@ -78,13 +76,16 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_libdir}/pkgconfig/hunspell.pc
|
||||
|
||||
%changelog
|
||||
* Sat Jul 07 2007 Caolan McNamara <caolanm@redhat.com> - 1.1.7-1
|
||||
- latest version
|
||||
- drop integrated hunspell-1.1.5.freem.patch
|
||||
|
||||
* Fri Jun 29 2007 Caolan McNamara <caolanm@redhat.com> - 1.1.6-1
|
||||
- latest version
|
||||
- drop integrated hunspell-1.1.4-defaultdictfromlang.patch
|
||||
- drop integrated hunspell-1.1.5-badheader.patch
|
||||
- drop integrated hunspell-1.1.5.encoding.patch
|
||||
|
||||
|
||||
* Fri Jun 29 2007 Caolan McNamara <caolanm@redhat.com> - 1.1.5.3-5
|
||||
- fix memory leak
|
||||
http://sourceforge.net/tracker/index.php?func=detail&aid=1745263&group_id=143754&atid=756395
|
||||
|
Loading…
Reference in New Issue
Block a user