git: 9bc25ee236c4 - main - sysutils/grub2-efi: Fix build with GCC 14

From: Lorenzo Salvadore <salvadore_at_FreeBSD.org>
Date: Thu, 06 Feb 2025 17:07:38 UTC
The branch main has been updated by salvadore:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9bc25ee236c4abd6b2cca81b2c845a9380f0008e

commit 9bc25ee236c4abd6b2cca81b2c845a9380f0008e
Author:     Lorenzo Salvadore <salvadore@FreeBSD.org>
AuthorDate: 2025-02-06 16:37:39 +0000
Commit:     Lorenzo Salvadore <salvadore@FreeBSD.org>
CommitDate: 2025-02-06 17:07:07 +0000

    sysutils/grub2-efi: Fix build with GCC 14
    
    GCC 14 turns some warnings into errors. Switch them back to warnings.
    
    PR:             284483
---
 sysutils/grub2-efi/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sysutils/grub2-efi/Makefile b/sysutils/grub2-efi/Makefile
index 4c184e08558f..6adabb040567 100644
--- a/sysutils/grub2-efi/Makefile
+++ b/sysutils/grub2-efi/Makefile
@@ -32,6 +32,7 @@ CPE_VENDOR=	gnu
 CONFIGURE_ARGS=	--with-platform=efi --disable-werror --localedir=${PREFIX}/share/locale
 CONFIGURE_ENV=	CPP="${CC} -E" \
 		LEX=${LOCALBASE}/bin/flex
+CFLAGS+=	-fpermissive
 
 .include <bsd.port.pre.mk>