SHA256
1
0
forked from pool/hunspell
OBS User unknown 2008-06-23 20:00:33 +00:00 committed by Git OBS Bridge
parent e12321378b
commit be60a55553
8 changed files with 48 additions and 80 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:14aafd9549222526e5c68ed0ceb0c4cfd254112eb3e2555765c4d62fdc789241
size 634338

3
hunspell-1.2.4-2.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f53aa3714e46f5f252da920d9382a4b1da9a22ffadae9e68a9712dbbccfb750a
size 637565

View File

@ -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

View File

@ -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);

View File

@ -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

View File

@ -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 */

View File

@ -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 Fri May 9 10:35:22 CEST 2008 - aj@suse.de

View File

@ -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. # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine # This file and all modifications and additions to the pristine
@ -12,15 +12,11 @@
Summary: Hunspell - a spell checker and morphological analyzer library Summary: Hunspell - a spell checker and morphological analyzer library
Name: hunspell Name: hunspell
Version: 1.2.2 Version: 1.2.4
Release: 11 Release: 1
License: GPL v2 or later; LGPL v2.1 or later; MOZILLA PUBLIC LICENSE (MPL/NPL) License: GPL v2 or later; LGPL v2.1 or later; MOZILLA PUBLIC LICENSE (MPL/NPL)
Group: System/Libraries Group: System/Libraries
Source0: %{name}-1.2.2.tar.bz2 Source0: %{name}-%{version}-2.tar.bz2
Patch1: %{name}-uninitialised.patch
Patch2: %{name}-function_address.patch
Patch3: %{name}-ac.patch
Patch4: %{name}-pkgconfig_libdir.patch
Url: http://hunspell.sourceforge.net/ Url: http://hunspell.sourceforge.net/
BuildRequires: autoconf >= 2.59 BuildRequires: autoconf >= 2.59
BuildRequires: ncurses-devel >= 5.0 BuildRequires: ncurses-devel >= 5.0
@ -88,11 +84,8 @@ Authors:
Németh László nemeth (at) OpenOffice.org Németh László nemeth (at) OpenOffice.org
%prep %prep
%setup -q -n %{name}-1.2.2 %setup -q -n %{name}-%{version}
%patch1 #%patch1
%patch2
%patch3
%patch4
%build %build
cp /usr/share/gettext/config.rpath . cp /usr/share/gettext/config.rpath .
@ -126,6 +119,9 @@ rm -rf $RPM_BUILD_ROOT
%dir %{_mandir}/hu/man4 %dir %{_mandir}/hu/man4
%{_mandir}/man1/hunspell.1* %{_mandir}/man1/hunspell.1*
%{_mandir}/man4/hunspell.4* %{_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/man1/hunspell.1*
%lang(hu) %{_mandir}/hu/man4/hunspell.4* %lang(hu) %{_mandir}/hu/man4/hunspell.4*
@ -154,6 +150,21 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/libhunspell-*.a %{_libdir}/libhunspell-*.a
%changelog %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 * Fri May 09 2008 aj@suse.de
- Add baselibs.conf. - Add baselibs.conf.
* Tue May 06 2008 coolo@suse.de * Tue May 06 2008 coolo@suse.de