Blame SOURCES/0150-Fixup-for-newer-compiler.patch

d9d99f
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
d9d99f
From: Peter Jones <pjones@redhat.com>
d9d99f
Date: Thu, 10 May 2018 13:40:19 -0400
d9d99f
Subject: [PATCH] Fixup for newer compiler
d9d99f
d9d99f
---
d9d99f
 grub-core/fs/btrfs.c         | 2 +-
d9d99f
 include/grub/gpt_partition.h | 2 +-
d9d99f
 2 files changed, 2 insertions(+), 2 deletions(-)
d9d99f
d9d99f
diff --git a/grub-core/fs/btrfs.c b/grub-core/fs/btrfs.c
d9d99f
index 7002ad81b7e..dac73b2fa8b 100644
d9d99f
--- a/grub-core/fs/btrfs.c
d9d99f
+++ b/grub-core/fs/btrfs.c
d9d99f
@@ -198,7 +198,7 @@ struct grub_btrfs_inode
d9d99f
   grub_uint64_t size;
d9d99f
   grub_uint8_t dummy2[0x70];
d9d99f
   struct grub_btrfs_time mtime;
d9d99f
-} GRUB_PACKED;
d9d99f
+} GRUB_PACKED  __attribute__ ((aligned(8)));
d9d99f
 
d9d99f
 struct grub_btrfs_extent_data
d9d99f
 {
d9d99f
diff --git a/include/grub/gpt_partition.h b/include/grub/gpt_partition.h
d9d99f
index 7a93f43291c..8212697bf6b 100644
d9d99f
--- a/include/grub/gpt_partition.h
d9d99f
+++ b/include/grub/gpt_partition.h
d9d99f
@@ -76,7 +76,7 @@ struct grub_gpt_partentry
d9d99f
   grub_uint64_t end;
d9d99f
   grub_uint64_t attrib;
d9d99f
   char name[72];
d9d99f
-} GRUB_PACKED;
d9d99f
+} GRUB_PACKED  __attribute__ ((aligned(8)));
d9d99f
 
d9d99f
 grub_err_t
d9d99f
 grub_gpt_partition_map_iterate (grub_disk_t disk,