alignment: fix armel/armhf/mipsel build failure

This commit extends commit faf1e24edf
"zoom-manager: bring back attribute aligned(8)"
to both places where the attribute was previously dropped from
in commit 63579451b5 "alignment: set alignment on structs".

3.22.3 + commit 6a3d7282ec + commit faf1e24edf + this patch
has been successfully build tested on Debian armhf porterbox
(harris.debian.org). (It also means we end up with exactly
the same as the 3.22.2 + patch situation currently shipped
in Debian 'stretch' 9.0 regarding alignment/cast fixes.)

https://bugzilla.gnome.org/show_bug.cgi?id=784466
This commit is contained in:
Andreas Henriksson
2017-07-03 09:11:07 +02:00
parent 7fc1998eb8
commit 19ca2e4ecc
3 changed files with 1 additions and 5 deletions

View File

@ -34,7 +34,7 @@ struct _SpVisualizerTicks
gint64 epoch;
gint64 begin_time;
gint64 end_time;
};
} __attribute__((aligned(8)));
enum {
TICK_MINUTES,

View File

@ -25,8 +25,6 @@ G_BEGIN_DECLS
#define SP_TYPE_VISUALIZER_TICKS (sp_visualizer_ticks_get_type())
typedef struct _SpVisualizerTicks SpVisualizerTicks __attribute__((aligned(8)));
G_DECLARE_FINAL_TYPE (SpVisualizerTicks, sp_visualizer_ticks, SP, VISUALIZER_TICKS, GtkDrawingArea)
GtkWidget *sp_visualizer_ticks_new (void);

View File

@ -25,8 +25,6 @@ G_BEGIN_DECLS
#define SP_TYPE_ZOOM_MANAGER (sp_zoom_manager_get_type())
typedef struct _SpZoomManager SpZoomManager __attribute__((aligned(8)));
G_DECLARE_FINAL_TYPE (SpZoomManager, sp_zoom_manager, SP, ZOOM_MANAGER, GObject)
SpZoomManager *sp_zoom_manager_new (void);