forked from pool/aspell
This commit is contained in:
parent
7cf83a8a47
commit
baf2539905
10
aspell-epmty_file.patch
Normal file
10
aspell-epmty_file.patch
Normal file
@ -0,0 +1,10 @@
|
||||
--- common/convert.cpp
|
||||
+++ common/convert.cpp
|
||||
@@ -813,6 +813,7 @@
|
||||
{
|
||||
ToUniLookup lookup;
|
||||
void decode(const char * in, int size, FilterCharVector & out) const {
|
||||
+ if (size == 0) return; // if size == 0 then while loop cause SIGSEGV
|
||||
const char * stop = in + size; // this is OK even if size == -1
|
||||
while (*in && in != stop) {
|
||||
out.append(from_utf8(in, stop));
|
9
aspell-quotes.patch
Normal file
9
aspell-quotes.patch
Normal file
@ -0,0 +1,9 @@
|
||||
--- scripts/run-with-aspell.create
|
||||
+++ scripts/run-with-aspell.create
|
||||
@@ -3,5 +3,5 @@
|
||||
echo "#!/bin/sh"
|
||||
echo "PATH=$1:\$PATH"
|
||||
echo "export PATH"
|
||||
-echo "exec \$@"
|
||||
+echo "exec \"\$@\""
|
||||
|
@ -1,3 +1,16 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 16 16:38:45 CEST 2007 - lmichnovic@suse.cz
|
||||
|
||||
- fixed SIGSEV when checking empty file(epmty_file.patch) [#266130]
|
||||
- using parallel build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 16 14:38:45 CEST 2007 - lmichnovic@suse.cz
|
||||
|
||||
- changed dict- and data-dir back to /usr/{%lib} because dictionary
|
||||
files depends on endian.
|
||||
- fixed command execution in script "run-with-aspell" (quotes.patch)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 15 13:26:44 CEST 2007 - lmichnovic@suse.cz
|
||||
|
||||
|
24
aspell.spec
24
aspell.spec
@ -20,12 +20,14 @@ Obsoletes: pspell
|
||||
PreReq: %install_info_prereq
|
||||
Autoreqprov: on
|
||||
Version: 0.60.5
|
||||
Release: 35
|
||||
Release: 36
|
||||
Summary: A Free and Open Source Spell Checker
|
||||
URL: http://aspell.net/
|
||||
Source: aspell-%{version}.tar.bz2
|
||||
Patch1: aspell-strict-aliasing.patch
|
||||
Patch2: aspell-duplicate_name.patch
|
||||
Patch3: aspell-quotes.patch
|
||||
Patch4: aspell-epmty_file.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
@ -59,6 +61,8 @@ to develop applications that require these.
|
||||
%setup -q
|
||||
%patch1
|
||||
%patch2
|
||||
%patch3
|
||||
%patch4
|
||||
|
||||
%build
|
||||
%{suse_update_config}
|
||||
@ -72,10 +76,11 @@ CXXFLAGS="$RPM_OPT_FLAGS" \
|
||||
--libdir=%{_prefix}/%_lib \
|
||||
--infodir=%{_infodir} \
|
||||
--mandir=%{_mandir} \
|
||||
--enable-pkgdatadir=%{_prefix}/share/aspell-0.60 \
|
||||
--enable-dict-dir=%{_prefix}/share/aspell-0.60 \
|
||||
--enable-static
|
||||
make
|
||||
# dictionary files depend on endian, needs fix, then posible
|
||||
# --enable-pkgdatadir=%{_prefix}/share/aspell-0.60 \
|
||||
# --enable-dict-dir=%{_prefix}/share/aspell-0.60 \
|
||||
make %{?jobs:-j%jobs}
|
||||
|
||||
%install
|
||||
make DESTDIR=$RPM_BUILD_ROOT install
|
||||
@ -118,8 +123,8 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_bindir}/pre*
|
||||
%{_libdir}/libaspell.so.*
|
||||
%{_libdir}/libpspell.so.*
|
||||
#%{_libdir}/aspell-0.60
|
||||
%{_prefix}/share/aspell-0.60
|
||||
%{_libdir}/aspell-0.60
|
||||
#%{_prefix}/share/aspell-0.60
|
||||
%{_datadir}/locale/*/*/aspell.mo
|
||||
|
||||
%files devel
|
||||
@ -134,6 +139,13 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_libdir}/libpspell.so
|
||||
|
||||
%changelog
|
||||
* Thu Aug 16 2007 - lmichnovic@suse.cz
|
||||
- fixed SIGSEV when checking empty file(epmty_file.patch) [#266130]
|
||||
- using parallel build
|
||||
* Thu Aug 16 2007 - lmichnovic@suse.cz
|
||||
- changed dict- and data-dir back to /usr/{%%lib} because dictionary
|
||||
files depends on endian.
|
||||
- fixed command execution in script "run-with-aspell" (quotes.patch)
|
||||
* Wed Aug 15 2007 - lmichnovic@suse.cz
|
||||
- using lang macro
|
||||
- not using obsoleted %%run_ldconfig macro
|
||||
|
Loading…
Reference in New Issue
Block a user