From adc0fb2d8b3441cff3eddf202c0eacfa4031f73f Mon Sep 17 00:00:00 2001 From: Caolan McNamara Date: Sat, 7 Jul 2007 16:29:32 +0000 Subject: [PATCH] next version --- .cvsignore | 2 +- hunspell-1.1.5.freem.patch | 17 ----------------- hunspell.spec | 9 +++++---- sources | 2 +- 4 files changed, 7 insertions(+), 23 deletions(-) delete mode 100644 hunspell-1.1.5.freem.patch diff --git a/.cvsignore b/.cvsignore index 37e3498..9abc052 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -hunspell-1.1.6.tar.gz +hunspell-1.1.7.tar.gz diff --git a/hunspell-1.1.5.freem.patch b/hunspell-1.1.5.freem.patch deleted file mode 100644 index 32cac27..0000000 --- a/hunspell-1.1.5.freem.patch +++ /dev/null @@ -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 */ diff --git a/hunspell.spec b/hunspell.spec index 410f826..d4ecf73 100644 --- a/hunspell.spec +++ b/hunspell.spec @@ -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 - 1.1.7-1 +- latest version +- drop integrated hunspell-1.1.5.freem.patch + * Fri Jun 29 2007 Caolan McNamara - 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 - 1.1.5.3-5 - fix memory leak http://sourceforge.net/tracker/index.php?func=detail&aid=1745263&group_id=143754&atid=756395 diff --git a/sources b/sources index 1dca24e..f775499 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -d6ce7862dc0410a76ae672d0af9dcd97 hunspell-1.1.6.tar.gz +ade984055c091aaeb9142d64a1bb2d7a hunspell-1.1.7.tar.gz