Hello community,

here is the log from the commit of package enchant for openSUSE:Factory checked 
in at 2016-05-05 08:12:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/enchant (Old)
 and      /work/SRC/openSUSE:Factory/.enchant.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "enchant"

Changes:
--------
--- /work/SRC/openSUSE:Factory/enchant/enchant.changes  2013-03-28 
13:10:38.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.enchant.new/enchant.changes     2016-05-05 
08:12:08.000000000 +0200
@@ -1,0 +2,6 @@
+Mon May  2 06:51:04 UTC 2016 - [email protected]
+
+- Add enchant-hunspell-1.4.0.patch: Fix build against
+  hunspell 1.4.0, where MAXWORDLEN is no longer exported.
+
+-------------------------------------------------------------------

New:
----
  enchant-hunspell-1.4.0.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ enchant.spec ++++++
--- /var/tmp/diff_new_pack.YohDnb/_old  2016-05-05 08:12:09.000000000 +0200
+++ /var/tmp/diff_new_pack.YohDnb/_new  2016-05-05 08:12:09.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package enchant
 #
-# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -25,6 +25,8 @@
 Url:            http://www.abisource.com/
 Source:         
http://www.abisource.com/downloads/%{name}/%{version}/%{name}-%{version}.tar.gz
 Source1:        baselibs.conf
+# PATCH-FIX-UPSTREAM enchant-hunspell-1.4.0.patch [email protected] -- Fix 
build against hunspell 1.4.0, where WORDMAXLEN is no longer exported
+Patch0:         enchant-hunspell-1.4.0.patch
 BuildRequires:  aspell-devel
 BuildRequires:  dbus-1-glib-devel
 BuildRequires:  gcc-c++
@@ -96,6 +98,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %configure --with-pic \

++++++ enchant-hunspell-1.4.0.patch ++++++
Index: enchant-1.6.0/src/myspell/myspell_checker.cpp
===================================================================
--- enchant-1.6.0.orig/src/myspell/myspell_checker.cpp
+++ enchant-1.6.0/src/myspell/myspell_checker.cpp
@@ -148,6 +148,10 @@ MySpellChecker::~MySpellChecker()
                g_iconv_close(m_translate_out);
 }
 
+#ifndef MAXWORDLEN
+#   define MAXWORDLEN 100
+#endif
+
 bool
 MySpellChecker::checkWord(const char *utf8Word, size_t len)
 {

Reply via email to