git: 6acd359216c7 - main - sysutils/grub2-pcbsd: Fix build with GCC 14
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 05 Sep 2024 15:19:45 UTC
The branch main has been updated by salvadore:
URL: https://cgit.FreeBSD.org/ports/commit/?id=6acd359216c7f6877651742bf6782363f6b67782
commit 6acd359216c7f6877651742bf6782363f6b67782
Author: Lorenzo Salvadore <salvadore@FreeBSD.org>
AuthorDate: 2024-09-05 14:58:40 +0000
Commit: Lorenzo Salvadore <salvadore@FreeBSD.org>
CommitDate: 2024-09-05 15:19:14 +0000
sysutils/grub2-pcbsd: Fix build with GCC 14
GCC 14 has transformed some warnings into errors: revert them to simple
warnings.
PR: 281247
Reported by: exp-run (antoine)
---
sysutils/grub2-pcbsd/Makefile | 2 ++
1 file changed, 2 insertions(+)
diff --git a/sysutils/grub2-pcbsd/Makefile b/sysutils/grub2-pcbsd/Makefile
index ebfd046695bc..91cd2bfc42ff 100644
--- a/sysutils/grub2-pcbsd/Makefile
+++ b/sysutils/grub2-pcbsd/Makefile
@@ -69,6 +69,8 @@ CONFIGURE_ARGS+= --enable-grub-mount
CONFIGURE_ARGS+= --disable-grub-mount
.endif
+CFLAGS+= -fpermissive
+
post-patch:
@${TOUCH} -t 200001010000 ${WRKSRC}/Makefile.util.def