From c268b7a0c84e50f45b930eb1d58da2c0426bad6b Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Feb 15 2016 10:40:24 +0000 Subject: Resolves: rhbz#1307627 FTBFS --- diff --git a/hunspell-en-fixbuild.patch b/hunspell-en-fixbuild.patch new file mode 100644 index 0000000..577381f --- /dev/null +++ b/hunspell-en-fixbuild.patch @@ -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, diff --git a/hunspell-en.spec b/hunspell-en.spec index ad4927d..b672c02 100644 --- a/hunspell-en.spec +++ b/hunspell-en.spec @@ -2,7 +2,7 @@ Name: hunspell-en Summary: English hunspell dictionaries %define upstreamid 20140811.1 Version: 0.%{upstreamid} -Release: 3%{?dist} +Release: 4%{?dist} 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 #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 #call git to get the release hash, but this is a tarball Patch8: hunspell-en-dont-call-git-during-build.patch +#fix build +Patch9: hunspell-en-fixbuild.patch Group: Applications/Text URL: http://wordlist.sourceforge.net/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -64,6 +66,8 @@ UK English hunspell dictionaries %patch5 -p0 -b .SI_and_IEC %patch6 -p1 -b .calender %patch7 -p1 -b .en_IE +%patch8 -p1 -b .nogit +%patch9 -p1 -b .fixbuild %build make @@ -121,6 +125,9 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/myspell/en_GB.* %changelog +* Mon Feb 15 2016 Caolán McNamara - 0.20140811.1-4 +- Resolves: rhbz#1307627 FTBFS + * Thu Feb 04 2016 Fedora Release Engineering - 0.20140811.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild