Description: Fix invalid alignment assumptions
 The current source has invalid assumptions about structure alignment
 that break on m68k because 32-bit quantities require only 16-bit
 alignment there. Fix this by introducing explicit structure padding
 to make the binary representation generated by the compiler match
 the text of the specification exactly.
Author: Thorsten Glaser <tg@mirbsd.de>
Bug-Debian: http://bugs.debian.org/604603
Origin: Andreas Schwab <schwab@linux-m68k.org>
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=661839

--- gobject-introspection-0.10.8.orig/girepository/gitypelib-internal.h
+++ gobject-introspection-0.10.8/girepository/gitypelib-internal.h
@@ -282,7 +282,7 @@ typedef struct {
   guint32 sections;
 
   /* <private> */
-  guint16 padding[5];
+  guint16 padding[6];
 } Header;
 
 typedef enum {
@@ -431,6 +431,9 @@ typedef struct {
   /* <public> */
   gint8        closure;
   gint8        destroy;
+  /* <private> */
+  guint16      padding;
+  /* <public> */
 
   SimpleTypeBlob arg_type;
 } ArgBlob;
@@ -1061,6 +1064,8 @@ typedef struct {
   guint16 n_vfuncs;
   guint16 n_constants;
 
+  guint16 padding;
+
   guint32 reserved2;
   guint32 reserved3;
 
