aboutsummaryrefslogtreecommitdiffstats
path: root/devel/efivar/files/patch-src_dp.h
diff options
context:
space:
mode:
authorLexi Winter <ivy@FreeBSD.org>2025-12-01 03:19:41 +0000
committerLexi Winter <ivy@FreeBSD.org>2025-12-01 03:19:41 +0000
commit2e80774d0b20d167bc0a9e2b63dafbfb171c0d22 (patch)
tree25f0138e1af8902b92dacc8cce09b267447c17db /devel/efivar/files/patch-src_dp.h
parentf85f2b2d6e5b7ed869376eb4b180c3a74a5c5da9 (diff)
parent1a30da80670973368b399f2b01fe9c04b91a1273 (diff)
Merge remote-tracking branch 'freebsd/main' into lf/mainlf/main
Diffstat (limited to 'devel/efivar/files/patch-src_dp.h')
-rw-r--r--devel/efivar/files/patch-src_dp.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/devel/efivar/files/patch-src_dp.h b/devel/efivar/files/patch-src_dp.h
new file mode 100644
index 000000000000..27a3cc282b2b
--- /dev/null
+++ b/devel/efivar/files/patch-src_dp.h
@@ -0,0 +1,13 @@
+--- src/dp.h.orig 2024-01-31 20:08:46 UTC
++++ src/dp.h
+@@ -6,7 +6,9 @@
+ #ifndef _EFIVAR_INTERNAL_DP_H
+ #define _EFIVAR_INTERNAL_DP_H
+
+-#include <alloca.h>
++#if defined(__linux__)
++# include <alloca.h>
++#endif
+ #include <stdarg.h>
+ #include <stdio.h>
+ #include <stdlib.h>