From be60a55553296688dd67d1650c2da01203a0eb1c10d09040bb52929e39a0ba64 Mon Sep 17 00:00:00 2001 From: OBS User unknown Date: Mon, 23 Jun 2008 20:00:33 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/hunspell?expand=0&rev=8 --- hunspell-1.2.2.tar.bz2 | 3 --- hunspell-1.2.4-2.tar.bz2 | 3 +++ hunspell-ac.patch | 10 --------- hunspell-function_address.patch | 22 -------------------- hunspell-pkgconfig_libdir.patch | 12 ----------- hunspell-uninitialised.patch | 20 ------------------ hunspell.changes | 21 +++++++++++++++++++ hunspell.spec | 37 +++++++++++++++++++++------------ 8 files changed, 48 insertions(+), 80 deletions(-) delete mode 100644 hunspell-1.2.2.tar.bz2 create mode 100644 hunspell-1.2.4-2.tar.bz2 delete mode 100644 hunspell-ac.patch delete mode 100644 hunspell-function_address.patch delete mode 100644 hunspell-pkgconfig_libdir.patch delete mode 100644 hunspell-uninitialised.patch diff --git a/hunspell-1.2.2.tar.bz2 b/hunspell-1.2.2.tar.bz2 deleted file mode 100644 index 43d492a..0000000 --- a/hunspell-1.2.2.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:14aafd9549222526e5c68ed0ceb0c4cfd254112eb3e2555765c4d62fdc789241 -size 634338 diff --git a/hunspell-1.2.4-2.tar.bz2 b/hunspell-1.2.4-2.tar.bz2 new file mode 100644 index 0000000..2499d1e --- /dev/null +++ b/hunspell-1.2.4-2.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f53aa3714e46f5f252da920d9382a4b1da9a22ffadae9e68a9712dbbccfb750a +size 637565 diff --git a/hunspell-ac.patch b/hunspell-ac.patch deleted file mode 100644 index 02cdcf1..0000000 --- a/hunspell-ac.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- configure.ac -+++ configure.ac -@@ -16,6 +16,7 @@ AC_SUBST(HUNSPELL_VERSION_MAJOR) - AC_SUBST(HUNSPELL_VERSION_MINOR) - - # library version -+m4_pattern_allow([^LT_(CURRENT|REVISION|AGE)$])dnl - LT_CURRENT=1 - LT_REVISION=0 - LT_AGE=0 diff --git a/hunspell-function_address.patch b/hunspell-function_address.patch deleted file mode 100644 index ac4ab88..0000000 --- a/hunspell-function_address.patch +++ /dev/null @@ -1,22 +0,0 @@ ---- src/hunspell/affixmgr.cxx -+++ src/hunspell/affixmgr.cxx -@@ -2464,7 +2464,7 @@ - sptr = sptr->getNextNE(); - } - } -- if (result) return mystrdup(result); -+ if ( strlen(result) ) return mystrdup(result); - return NULL; - } - ---- src/hunspell/hunspell.cxx -+++ src/hunspell/hunspell.cxx -@@ -1392,7 +1392,7 @@ - } - } - -- if (result && (*result)) { -+ if ( strlen(result) && ( *result)) { - // word reversing wrapper for complex prefixes - if (complexprefixes) { - if (utf8) reverseword_utf(result); else reverseword(result); diff --git a/hunspell-pkgconfig_libdir.patch b/hunspell-pkgconfig_libdir.patch deleted file mode 100644 index 821fd3e..0000000 --- a/hunspell-pkgconfig_libdir.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- hunspell.pc.in -+++ hunspell.pc.in -@@ -1,7 +1,7 @@ - prefix=@prefix@ - exec_prefix=${prefix} --libdir=${prefix}/lib --includedir=${prefix}/include -+libdir=@libdir@ -+includedir=@includedir@ - - Name: hunspell - Description: Hunpell spellchecking library diff --git a/hunspell-uninitialised.patch b/hunspell-uninitialised.patch deleted file mode 100644 index a243ccc..0000000 --- a/hunspell-uninitialised.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- src/hunspell/affixmgr.cxx -+++ src/hunspell/affixmgr.cxx -@@ -3757,6 +3757,7 @@ - // split affix header line into pieces - - int np = 0; -+ nl = '\0'; - piece = mystrsep(&tp, 0); - while (piece) { - if (*piece != '\0') { ---- src/hunspell/hashmgr.cxx.orig 2008-05-06 21:48:25.000000000 +0200 -+++ src/hunspell/hashmgr.cxx 2008-05-06 21:48:54.000000000 +0200 -@@ -284,6 +284,7 @@ - } - dp = dp->next_homonym; - } -+ return 0; - } - - /* remove forbidden flag to add a personal word to the hash */ diff --git a/hunspell.changes b/hunspell.changes index f9fadd5..950b3c6 100644 --- a/hunspell.changes +++ b/hunspell.changes @@ -1,3 +1,24 @@ +------------------------------------------------------------------- +Wed Jun 18 16:09:19 CEST 2008 - lmichnovic@suse.cz + +- update to version 1.2.4-2 + with fixed comparison of char* pointer with a string literal + +------------------------------------------------------------------- +Tue Jun 17 17:41:04 CEST 2008 - lmichnovic@suse.cz + +- version update Hunspell 1.2.4 + * add free_list() for C, C++ interfaces to deallocate suggestion + lists + - Hunspell 1.2.3 + * extended XML interface to use morphological functions by + standard spell checking interface, spell() and suggest(). + See hunspell.3 manual page. + * default dash suggestions for compound words: newword-> new word and new-word + * new manual pages: hunspell.3, hzip.1, hunzip.1. + * bug fixes +- obsoletes all previous patches + ------------------------------------------------------------------- Fri May 9 10:35:22 CEST 2008 - aj@suse.de diff --git a/hunspell.spec b/hunspell.spec index 36acd44..8a4b88e 100644 --- a/hunspell.spec +++ b/hunspell.spec @@ -1,5 +1,5 @@ # -# spec file for package hunspell (Version 1.2.2) +# spec file for package hunspell (Version 1.2.4) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine @@ -12,15 +12,11 @@ Summary: Hunspell - a spell checker and morphological analyzer library Name: hunspell -Version: 1.2.2 -Release: 11 +Version: 1.2.4 +Release: 1 License: GPL v2 or later; LGPL v2.1 or later; MOZILLA PUBLIC LICENSE (MPL/NPL) Group: System/Libraries -Source0: %{name}-1.2.2.tar.bz2 -Patch1: %{name}-uninitialised.patch -Patch2: %{name}-function_address.patch -Patch3: %{name}-ac.patch -Patch4: %{name}-pkgconfig_libdir.patch +Source0: %{name}-%{version}-2.tar.bz2 Url: http://hunspell.sourceforge.net/ BuildRequires: autoconf >= 2.59 BuildRequires: ncurses-devel >= 5.0 @@ -88,11 +84,8 @@ Authors: Németh László nemeth (at) OpenOffice.org %prep -%setup -q -n %{name}-1.2.2 -%patch1 -%patch2 -%patch3 -%patch4 +%setup -q -n %{name}-%{version} +#%patch1 %build cp /usr/share/gettext/config.rpath . @@ -126,6 +119,9 @@ rm -rf $RPM_BUILD_ROOT %dir %{_mandir}/hu/man4 %{_mandir}/man1/hunspell.1* %{_mandir}/man4/hunspell.4* +%{_mandir}/man1/hunzip.1* +%{_mandir}/man1/hzip.1* +%{_mandir}/man3/hunspell.3* %lang(hu) %{_mandir}/hu/man1/hunspell.1* %lang(hu) %{_mandir}/hu/man4/hunspell.4* @@ -154,6 +150,21 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/libhunspell-*.a %changelog +* Wed Jun 18 2008 lmichnovic@suse.cz +- update to version 1.2.4-2 + with fixed comparison of char* pointer with a string literal +* Tue Jun 17 2008 lmichnovic@suse.cz +- version update Hunspell 1.2.4 + * add free_list() for C, C++ interfaces to deallocate suggestion + lists + - Hunspell 1.2.3 + * extended XML interface to use morphological functions by + standard spell checking interface, spell() and suggest(). + See hunspell.3 manual page. + * default dash suggestions for compound words: newword-> new word and new-word + * new manual pages: hunspell.3, hzip.1, hunzip.1. + * bug fixes +- obsoletes all previous patches * Fri May 09 2008 aj@suse.de - Add baselibs.conf. * Tue May 06 2008 coolo@suse.de