forked from pool/enchant
Accepting request 441368 from home:pgajdos
- fix build against hunspell 1.5.0 + enchant-hunspell-1.5.0.patch OBS-URL: https://build.opensuse.org/request/show/441368 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/enchant?expand=0&rev=26
This commit is contained in:
parent
7103692c14
commit
e0008c3045
13
enchant-hunspell-1.5.0.patch
Normal file
13
enchant-hunspell-1.5.0.patch
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
Index: enchant-1.6.0/src/myspell/myspell_checker.cpp
|
||||||
|
===================================================================
|
||||||
|
--- enchant-1.6.0.orig/src/myspell/myspell_checker.cpp 2016-11-22 09:32:52.653021617 +0100
|
||||||
|
+++ enchant-1.6.0/src/myspell/myspell_checker.cpp 2016-11-22 09:37:27.753598594 +0100
|
||||||
|
@@ -431,7 +431,7 @@ MySpellChecker::requestDictionary(const
|
||||||
|
if(myspell == NULL){
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
- char *enc = myspell->get_dic_encoding();
|
||||||
|
+ const char *enc = myspell->get_dic_encoding();
|
||||||
|
|
||||||
|
m_translate_in = g_iconv_open(enc, "UTF-8");
|
||||||
|
m_translate_out = g_iconv_open("UTF-8", enc);
|
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Nov 22 08:42:30 UTC 2016 - pgajdos@suse.com
|
||||||
|
|
||||||
|
- fix build against hunspell 1.5.0
|
||||||
|
+ enchant-hunspell-1.5.0.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon May 2 06:51:04 UTC 2016 - dimstar@opensuse.org
|
Mon May 2 06:51:04 UTC 2016 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
@ -27,6 +27,8 @@ Source: http://www.abisource.com/downloads/%{name}/%{version}/%{name}-%{
|
|||||||
Source1: baselibs.conf
|
Source1: baselibs.conf
|
||||||
# PATCH-FIX-UPSTREAM enchant-hunspell-1.4.0.patch dimstar@opensuse.org -- Fix build against hunspell 1.4.0, where WORDMAXLEN is no longer exported
|
# PATCH-FIX-UPSTREAM enchant-hunspell-1.4.0.patch dimstar@opensuse.org -- Fix build against hunspell 1.4.0, where WORDMAXLEN is no longer exported
|
||||||
Patch0: enchant-hunspell-1.4.0.patch
|
Patch0: enchant-hunspell-1.4.0.patch
|
||||||
|
# PATCH-FIX-UPSTREAM enchant-hunspell-1.5.0.patch pgajdos@suse.cz -- fix build against hunspell 1.5.0
|
||||||
|
Patch1: enchant-hunspell-1.5.0.patch
|
||||||
BuildRequires: aspell-devel
|
BuildRequires: aspell-devel
|
||||||
BuildRequires: dbus-1-glib-devel
|
BuildRequires: dbus-1-glib-devel
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
@ -99,6 +101,7 @@ to develop applications that require these.
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
|
%patch1 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --with-pic \
|
%configure --with-pic \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user