]> TLD Linux GIT Repositories - packages/grub2.git/blob - gcc8.patch
- added options to enable unrestricted boot
[packages/grub2.git] / gcc8.patch
1 diff -ur grub-2.02.orig/grub-core/fs/btrfs.c grub-2.02/grub-core/fs/btrfs.c
2 --- grub-2.02.orig/grub-core/fs/btrfs.c 2017-04-24 09:16:00.000000000 +0000
3 +++ grub-2.02/grub-core/fs/btrfs.c      2018-09-04 11:11:43.199082290 +0000
4 @@ -175,7 +175,7 @@
5  {
6    grub_int64_t sec;
7    grub_uint32_t nanosec;
8 -} __attribute__ ((aligned (4)));
9 +} GRUB_PACKED;
10  
11  struct grub_btrfs_inode
12  {
13 diff -ur grub-2.02.orig/include/grub/efiemu/runtime.h grub-2.02/include/grub/efiemu/runtime.h
14 --- grub-2.02.orig/include/grub/efiemu/runtime.h        2015-05-21 15:50:29.000000000 +0000
15 +++ grub-2.02/include/grub/efiemu/runtime.h     2018-09-04 11:13:30.211081085 +0000
16 @@ -29,7 +29,7 @@
17  
18  struct efi_variable
19  {
20 -  grub_efi_guid_t guid;
21 +  grub_efi_packed_guid_t guid;
22    grub_uint32_t namelen;
23    grub_uint32_t size;
24    grub_efi_uint32_t attributes;
25 diff -ur grub-2.02.orig/include/grub/gpt_partition.h grub-2.02/include/grub/gpt_partition.h
26 --- grub-2.02.orig/include/grub/gpt_partition.h 2015-05-21 15:50:29.000000000 +0000
27 +++ grub-2.02/include/grub/gpt_partition.h      2018-09-04 11:14:00.554080743 +0000
28 @@ -28,7 +28,7 @@
29    grub_uint16_t data2;
30    grub_uint16_t data3;
31    grub_uint8_t data4[8];
32 -} __attribute__ ((aligned(8)));
33 +} GRUB_PACKED;
34  typedef struct grub_gpt_part_type grub_gpt_part_type_t;
35  
36  #define GRUB_GPT_PARTITION_TYPE_EMPTY \