diff options
author | Patrick J Volkerding <volkerdi@slackware.com> | 2023-12-29 21:02:02 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2023-12-29 22:35:49 +0100 |
commit | 142322a437e98e4a089d81f4511d2da2a8c1a8be (patch) | |
tree | 70ff5fc8778eb028d26ff5120d9b0cc164207b8f /testing/source/grub/0198-align-struct-efi_variable-better.patch | |
parent | a65d0c1f5157916a0d03eab4e90469c8d1812786 (diff) | |
download | current-142322a437e98e4a089d81f4511d2da2a8c1a8be.tar.gz current-142322a437e98e4a089d81f4511d2da2a8c1a8be.tar.xz |
Fri Dec 29 21:02:02 UTC 202320231229210202
a/sysvinit-scripts-15.1-noarch-10.txz: Rebuilt.
rc.M: Fix the name of the LDAP name service daemon (rc.nss-pam-ldap).
Thanks to 0XBF.
d/subversion-1.14.3-x86_64-1.txz: Upgraded.
l/libvisual-0.4.2-x86_64-1.txz: Upgraded.
l/libvisual-plugins-0.4.2-x86_64-1.txz: Upgraded.
l/netpbm-11.05.01-x86_64-1.txz: Upgraded.
xfce/thunar-4.18.9-x86_64-1.txz: Upgraded.
testing/packages/grub-2.12-x86_64-1.txz: Added.
Diffstat (limited to 'testing/source/grub/0198-align-struct-efi_variable-better.patch')
-rw-r--r-- | testing/source/grub/0198-align-struct-efi_variable-better.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/testing/source/grub/0198-align-struct-efi_variable-better.patch b/testing/source/grub/0198-align-struct-efi_variable-better.patch new file mode 100644 index 000000000..8ce8bdc82 --- /dev/null +++ b/testing/source/grub/0198-align-struct-efi_variable-better.patch @@ -0,0 +1,36 @@ +From 2485633ada06c11c07a34a696a92b14e58f1e846 Mon Sep 17 00:00:00 2001 +From: Peter Jones <pjones@redhat.com> +Date: Tue, 27 Feb 2018 13:55:35 -0500 +Subject: [PATCH 198/250] align struct efi_variable better... + +--- + include/grub/efiemu/runtime.h | 2 +- + include/grub/types.h | 1 + + 2 files changed, 2 insertions(+), 1 deletion(-) + +diff --git a/include/grub/efiemu/runtime.h b/include/grub/efiemu/runtime.h +index 9b6b729f4cc..856774a7c34 100644 +--- a/include/grub/efiemu/runtime.h ++++ b/include/grub/efiemu/runtime.h +@@ -33,5 +33,5 @@ struct efi_variable + grub_uint32_t namelen; + grub_uint32_t size; + grub_efi_uint32_t attributes; +-} GRUB_PACKED; ++} GRUB_PACKED GRUB_ALIGNED(8); + #endif /* ! GRUB_EFI_EMU_RUNTIME_HEADER */ +diff --git a/include/grub/types.h b/include/grub/types.h +index b93e4820194..f6a9723971d 100644 +--- a/include/grub/types.h ++++ b/include/grub/types.h +@@ -29,6 +29,7 @@ + #else + #define GRUB_PACKED __attribute__ ((packed)) + #endif ++#define GRUB_ALIGNED(x) __attribute__((aligned (x))) + + #ifdef GRUB_BUILD + # define GRUB_CPU_SIZEOF_VOID_P BUILD_SIZEOF_VOID_P +-- +2.14.3 + |