Resolves: rhbz#1307627 FTBFS

This commit is contained in:
Caolán McNamara 2016-02-15 10:39:05 +00:00
parent 0e8d31d187
commit c268b7a0c8
2 changed files with 18 additions and 1 deletions

View File

@ -0,0 +1,10 @@
diff -ru wordlist/scowl/src/deaccent.hh wordlist/scowl/src/deaccent.hh
--- wordlist/scowl/src/deaccent.hh
+++ wordlist/scowl/src/deaccent.hh
@@ -1,5 +1,5 @@
-static const char deaccent_lookup[256] = {
+static const unsigned char deaccent_lookup[256] = {
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20,
21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38,
39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56,

View File

@ -2,7 +2,7 @@ Name: hunspell-en
Summary: English hunspell dictionaries Summary: English hunspell dictionaries
%define upstreamid 20140811.1 %define upstreamid 20140811.1
Version: 0.%{upstreamid} Version: 0.%{upstreamid}
Release: 3%{?dist} Release: 4%{?dist}
Source0: https://github.com/kevina/wordlist/archive/rel-2014.08.11.1.tar.gz Source0: https://github.com/kevina/wordlist/archive/rel-2014.08.11.1.tar.gz
Source1: http://en-gb.pyxidium.co.uk/dictionary/en_GB.zip Source1: http://en-gb.pyxidium.co.uk/dictionary/en_GB.zip
#See http://mxr.mozilla.org/mozilla/source/extensions/spellcheck/locales/en-US/hunspell/mozilla_words.diff?raw=1 #See http://mxr.mozilla.org/mozilla/source/extensions/spellcheck/locales/en-US/hunspell/mozilla_words.diff?raw=1
@ -24,6 +24,8 @@ Patch6: hunspell-en-calender.patch
Patch7: en_IE.supplemental.patch Patch7: en_IE.supplemental.patch
#call git to get the release hash, but this is a tarball #call git to get the release hash, but this is a tarball
Patch8: hunspell-en-dont-call-git-during-build.patch Patch8: hunspell-en-dont-call-git-during-build.patch
#fix build
Patch9: hunspell-en-fixbuild.patch
Group: Applications/Text Group: Applications/Text
URL: http://wordlist.sourceforge.net/ URL: http://wordlist.sourceforge.net/
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@ -64,6 +66,8 @@ UK English hunspell dictionaries
%patch5 -p0 -b .SI_and_IEC %patch5 -p0 -b .SI_and_IEC
%patch6 -p1 -b .calender %patch6 -p1 -b .calender
%patch7 -p1 -b .en_IE %patch7 -p1 -b .en_IE
%patch8 -p1 -b .nogit
%patch9 -p1 -b .fixbuild
%build %build
make make
@ -121,6 +125,9 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/myspell/en_GB.* %{_datadir}/myspell/en_GB.*
%changelog %changelog
* Mon Feb 15 2016 Caolán McNamara <caolanm@redhat.com> - 0.20140811.1-4
- Resolves: rhbz#1307627 FTBFS
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.20140811.1-3 * Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.20140811.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild