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

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