- resolves: #813261
fixed crash when trying to run "aspell dump personal"
This commit is contained in:
parent
2880d193a0
commit
a3d083066a
13
aspell-0.60.6.1-dump-personal-abort.patch
Normal file
13
aspell-0.60.6.1-dump-personal-abort.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff -upr aspell-0.60.6.1.orig/prog/aspell.cpp aspell-0.60.6.1/prog/aspell.cpp
|
||||
--- aspell-0.60.6.1.orig/prog/aspell.cpp 2011-07-04 11:13:58.000000000 +0200
|
||||
+++ aspell-0.60.6.1/prog/aspell.cpp 2012-07-19 15:16:43.204799622 +0200
|
||||
@@ -1570,7 +1570,8 @@ void personal () {
|
||||
|
||||
Config * config = options;
|
||||
Dictionary * per = new_default_writable_dict();
|
||||
- per->load(config->retrieve("personal-path"), *config);
|
||||
+ PosibErr<void> pe = per->load(config->retrieve("personal-path"), *config);
|
||||
+ if (pe.has_err()) {print_error(pe.get_err()->mesg); exit(1);}
|
||||
StackPtr<WordEntryEnumeration> els(per->detailed_elements());
|
||||
StackPtr<Convert> conv(setup_conv(per->lang(), config));
|
||||
|
@ -1,7 +1,7 @@
|
||||
Summary: Spell checker
|
||||
Name: aspell
|
||||
Version: 0.60.6.1
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
Epoch: 12
|
||||
# LGPLv2+ .. aspell-0.60.6/misc/po-filter.c, ltmain.sh, modules/speller/default/affix.cpp
|
||||
# GPLv2+ .. aspell-0.60.6/misc/po-filter.c, aspell-0.60.6/ltmain.sh
|
||||
@ -15,6 +15,7 @@ Patch5: aspell-0.60.5-fileconflict.patch
|
||||
Patch7: aspell-0.60.5-pspell_conf.patch
|
||||
Patch8: aspell-0.60.6-zero.patch
|
||||
Patch9: aspell-0.60.6-mp.patch
|
||||
Patch10: aspell-0.60.6.1-dump-personal-abort.patch
|
||||
BuildRequires: gettext, ncurses-devel, pkgconfig
|
||||
BuildRequires: chrpath
|
||||
Requires(pre): /sbin/install-info
|
||||
@ -49,6 +50,7 @@ libraries and header files needed for Aspell development.
|
||||
%patch7 -p1 -b .mlib
|
||||
%patch8 -p1 -b .zero
|
||||
%patch9 -p1 -b .ai
|
||||
%patch10 -p1 -b .dump-personal
|
||||
iconv -f windows-1252 -t utf-8 manual/aspell.info -o manual/aspell.info.aux
|
||||
mv manual/aspell.info.aux manual/aspell.info
|
||||
|
||||
@ -143,6 +145,10 @@ fi
|
||||
%{_mandir}/man1/pspell-config.1*
|
||||
|
||||
%changelog
|
||||
* Thu Jul 19 2012 Peter Schiffer <pschiffe@redhat.com> - 12:0.60.6.1-4
|
||||
- resolves: #813261
|
||||
fixed crash when trying to run "aspell dump personal"
|
||||
|
||||
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 12:0.60.6.1-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user