Resolves: rhbz#675806 fix crash if thesarus is busted

f41
Caolán McNamara 14 years ago
parent d98f3d39d6
commit 20c7a96b35

@ -0,0 +1,10 @@
--- mythes.cxx 2011-02-08 10:42:57.262964286 +0000
+++ mythes.cxx 2011-02-08 10:43:06.305076490 +0000
@@ -14,6 +14,7 @@
encoding = NULL;
list = NULL;
offst = NULL;
+ pdfile = NULL;
if (thInitialize(idxpath, datpath) != 1) {
fprintf(stderr,"Error - can't open %s or %s\n",idxpath, datpath);

@ -1,13 +1,14 @@
Name: mythes
Summary: A thesaurus library
Version: 1.2.1
Release: 1%{?dist}
Release: 2%{?dist}
Source: http://downloads.sourceforge.net/hunspell/%{name}-%{version}.tar.gz
Group: System Environment/Libraries
URL: http://hunspell.sourceforge.net/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
License: BSD
BuildRequires: hunspell-devel
Patch0: mythes-1.2.1-rhbz675806.patch
%description
MyThes is a simple thesaurus that uses a structured text data file and an
@ -24,6 +25,7 @@ Includes and definitions for developing with mythes
%prep
%setup -q
%patch0 -p0 -b .rhbz675806
%build
%configure --disable-rpath --disable-static
@ -62,6 +64,9 @@ rm -rf $RPM_BUILD_ROOT
%{_bindir}/th_gen_idx.pl
%changelog
* Tue Feb 08 2011 Caolán McNamara <caolanm@redhat.com> - 1.2.1-2
- Resolves: rhbz#675806 fix crash if thesarus is busted
* Mon Jun 21 2010 Caolán McNamara <caolanm@redhat.com> - 1.2.1-1
- latest version

Loading…
Cancel
Save