git: a067c9327114 - main - devel/efivar: Fix build with GCC 14
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 05 Sep 2024 10:10:28 UTC
The branch main has been updated by salvadore:
URL: https://cgit.FreeBSD.org/ports/commit/?id=a067c93271149375640f7ad487e5dace034462bd
commit a067c93271149375640f7ad487e5dace034462bd
Author: Lorenzo Salvadore <salvadore@FreeBSD.org>
AuthorDate: 2024-09-05 10:00:37 +0000
Commit: Lorenzo Salvadore <salvadore@FreeBSD.org>
CommitDate: 2024-09-05 10:10:03 +0000
devel/efivar: Fix build with GCC 14
GCC 14 has transformed some warnings into errors: revert them to simple
warnings.
PR: 281226
Reported by: exp-run (antoine)
---
devel/efivar/Makefile | 2 ++
1 file changed, 2 insertions(+)
diff --git a/devel/efivar/Makefile b/devel/efivar/Makefile
index 55bd261570b6..444839ac55f7 100644
--- a/devel/efivar/Makefile
+++ b/devel/efivar/Makefile
@@ -14,6 +14,8 @@ NOT_FOR_ARCHS_REASON= specification only supports little-endian processors
LIB_DEPENDS= libpopt.so:devel/popt
+CFLAGS+= -fpermissive
+
USES= gmake localbase pkgconfig
USE_GCC= yes
USE_GITHUB= yes