=== modified file 'debian/changelog' --- debian/changelog 2009-10-21 00:08:42 +0000 +++ debian/changelog 2011-11-09 20:31:39 +0000 @@ -1,3 +1,9 @@ +libchewing (0.3.2-2ubuntu0.1) lucid-proposed; urgency=low + + * Fix aligement issue in amd64. (LP: #842115) + + -- Rex Tsai (蔡志展) Tue, 06 Sep 2011 16:16:57 +0800 + libchewing (0.3.2-2) unstable; urgency=low [ Zhengpeng Hou ] === modified file 'debian/control' --- debian/control 2009-10-21 00:08:42 +0000 +++ debian/control 2011-11-09 20:31:39 +0000 @@ -1,7 +1,8 @@ Source: libchewing Section: libs Priority: optional -Maintainer: Kanru Chen +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Kanru Chen Uploaders: Andrew Lee (李健秋) Build-Depends: debhelper (>= 7), gcc (>= 3:3.3), libtool (>= 1.5.6), dpatch Standards-Version: 3.8.0 === added file 'debian/patches/02-libchewing-0.3.2.align.dpatch' --- debian/patches/02-libchewing-0.3.2.align.dpatch 1970-01-01 00:00:00 +0000 +++ debian/patches/02-libchewing-0.3.2.align.dpatch 2011-11-09 20:31:39 +0000 @@ -0,0 +1,18 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 02-libchewing-0.3.2.align.dpatch by Rex Tsai +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' libchewing~/include/internal/chewing-private.h libchewing/include/internal/chewing-private.h +--- libchewing~/include/internal/chewing-private.h 2011-09-06 16:16:06.000000000 +0800 ++++ libchewing/include/internal/chewing-private.h 2011-09-06 16:47:59.959157850 +0800 +@@ -37,6 +37,7 @@ + typedef union { + unsigned char s[ MAX_UTF8_SIZE + 1]; + wchar_t wch; ++ unsigned char padding[8]; /* Ensure this structure is aligned */ + } wch_t; + + typedef struct {