[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#396528: fixed in hunspell 1.1.4-3.1



On Thu, Nov 16, 2006 at 01:15:55PM +0000, Stephen Gran wrote:
>> OK. In that case, we'll have to wait for the build-deps to be installed on
>> leisner, unless someone can provide another arm for testing.
> I think I can provide you with an arm box for testing if you need it.

I already got access to one, but thanks for the offer.

Anyhow, the following dpatch fixes the issue:

#! /bin/sh /usr/share/dpatch/dpatch-run
## arm_structure_alignment.dpatch by Steinar H. Gunderson <sesse@debian.org>
##
## All lines beginning with `## DP:' are a description of the patch.
## DP: Make w_char structure tightly packed; needed on arm.

@DPATCH@
diff -urNad hunspell-1.1.4~/src/hunspell/csutil.hxx hunspell-1.1.4/src/hunspell/csutil.hxx
--- hunspell-1.1.4~/src/hunspell/csutil.hxx     2006-02-01 01:09:55.000000000 +0100
+++ hunspell-1.1.4/src/hunspell/csutil.hxx      2006-11-16 15:09:05.000000000 +0100
@@ -3,7 +3,7 @@

 // First some base level utility routines

-typedef struct {
+typedef struct __attribute__ ((packed)) {
     unsigned char l;
     unsigned char h;
 } w_char;

I'm not sure if my other changes are actually relevant; in any case, it
shouldn't hurt. Anyhow, one will also have to clear XFAILED= from configure.ac
and re-run autofoo, since now it complains about unexpected passes (!). Rene,
you'll take that part and the upload, right?

/* Steinar */
-- 
Homepage: http://www.sesse.net/



Reply to: