Control: tags 821464 + pending

Dear maintainer,

I've prepared an NMU for enchant (versioned as 1.6.0-10.2) and
uploaded it to DELAYED/5. Please feel free to tell me if I
should delay it longer.

Regards.

-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
more about me:  https://mapreri.org                             : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-
diffstat for enchant-1.6.0 enchant-1.6.0

 changelog                         |    7 +++++++
 patches/fix_for_hunspell_1.4.diff |   22 ++++++++++++++++++++++
 patches/series                    |    1 +
 3 files changed, 30 insertions(+)

diff -Nru enchant-1.6.0/debian/changelog enchant-1.6.0/debian/changelog
--- enchant-1.6.0/debian/changelog	2014-08-25 15:59:19.000000000 +0000
+++ enchant-1.6.0/debian/changelog	2016-05-01 12:33:57.000000000 +0000
@@ -1,3 +1,10 @@
+enchant (1.6.0-10.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Add patch to fix FTBFS with hunspell 1.4.  Closes: #821464
+
+ -- Mattia Rizzolo <[email protected]>  Sun, 01 May 2016 12:33:51 +0000
+
 enchant (1.6.0-10.1) unstable; urgency=low
 
   * Non-maintainer upload.
diff -Nru enchant-1.6.0/debian/patches/fix_for_hunspell_1.4.diff enchant-1.6.0/debian/patches/fix_for_hunspell_1.4.diff
--- enchant-1.6.0/debian/patches/fix_for_hunspell_1.4.diff	1970-01-01 00:00:00.000000000 +0000
+++ enchant-1.6.0/debian/patches/fix_for_hunspell_1.4.diff	2016-05-01 12:31:13.000000000 +0000
@@ -0,0 +1,22 @@
+Description: fix build with hunspell 1.4
+ hunspell 1.4.0 doesn't expose MAXWORDLEN anymore.
+Author: Caolan McNamara <[email protected]>
+Origin: upstream bug
+Bug: http://bugzilla.abisource.com/show_bug.cgi?id=13772
+Bug-Debian: https://bugs.debian.org/821464
+
+
+diff -ru enchant-1.6.0-orig/src/myspell/myspell_checker.cpp enchant-1.6.0/src/myspell/myspell_checker.cpp
+--- enchant-1.6.0-orig/src/myspell/myspell_checker.cpp	2016-04-18 12:25:00.094614256 +0100
++++ enchant-1.6.0/src/myspell/myspell_checker.cpp	2016-04-18 12:26:09.108569576 +0100
+@@ -148,6 +148,10 @@
+ 		g_iconv_close(m_translate_out);
+ }
+ 
++#ifndef MAXWORDLEN
++#   define MAXWORDLEN 100
++#endif
++
+ bool
+ MySpellChecker::checkWord(const char *utf8Word, size_t len)
+ {
diff -Nru enchant-1.6.0/debian/patches/series enchant-1.6.0/debian/patches/series
--- enchant-1.6.0/debian/patches/series	2013-05-17 14:35:37.000000000 +0000
+++ enchant-1.6.0/debian/patches/series	2016-05-01 12:31:20.000000000 +0000
@@ -3,3 +3,4 @@
 10_enchant.1_remove-PU-macro.diff
 02-new-ispell-format.diff
 02_Requires-Private.diff
+fix_for_hunspell_1.4.diff

Attachment: signature.asc
Description: PGP signature

Reply via email to