From 1543bba0a2652bcb70334c4f14bb9e298ca3d09d Mon Sep 17 00:00:00 2001 From: Bernhard Froehlich Date: Wed, 15 Oct 2025 19:20:38 +0000 Subject: devel/efivar: Update to version 39 and take maintainership This is a big and important update which was initially submitted as part of D29332 by Norbert Kaminski . The submitted patches were for 0.24 and at the last two EuroBSDCons I've spend a lot of time to rework them for v39. Thanks a lot for the initial patches, even if there is not much of the initial work left. Differential Revision: https://reviews.freebsd.org/D29332 --- devel/efivar/files/patch-src_compiler.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 devel/efivar/files/patch-src_compiler.h (limited to 'devel/efivar/files/patch-src_compiler.h') diff --git a/devel/efivar/files/patch-src_compiler.h b/devel/efivar/files/patch-src_compiler.h new file mode 100644 index 000000000000..ad398379bffa --- /dev/null +++ b/devel/efivar/files/patch-src_compiler.h @@ -0,0 +1,13 @@ +--- src/compiler.h.orig 2024-01-31 20:08:46 UTC ++++ src/compiler.h +@@ -74,7 +74,9 @@ + + #define __ALIGN_MASK(x, mask) (((x) + (mask)) & ~(mask)) + #define __ALIGN(x, a) __ALIGN_MASK(x, (typeof(x))(a) - 1) +-#define ALIGN(x, a) __ALIGN((x), (a)) ++#if !defined(ALIGN) ++# define ALIGN(x, a) __ALIGN((x), (a)) ++#endif + #define ALIGN_DOWN(x, a) __ALIGN((x) - ((a) - 1), (a)) + + #define ALIGNMENT_PADDING(value, align) ((align - (value % align)) % align) -- cgit v1.2.3