git: 98f606f2eb41 - main - editors/hexcurse: Fix build with 14.X

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sat, 23 Nov 2024 14:28:48 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=98f606f2eb414cd4b1e8618ab3ce80002e30dfba

commit 98f606f2eb414cd4b1e8618ab3ce80002e30dfba
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-11-23 09:11:19 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-11-23 14:26:52 +0000

    editors/hexcurse: Fix build with 14.X
---
 editors/hexcurse/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/editors/hexcurse/Makefile b/editors/hexcurse/Makefile
index 1355aa375af2..ab67a2f0c90c 100644
--- a/editors/hexcurse/Makefile
+++ b/editors/hexcurse/Makefile
@@ -17,7 +17,8 @@ GH_ACCOUNT=	LonnyGomes
 
 GNU_CONFIGURE=	yes
 
-CFLAGS+=	-Wno-error=deprecated-non-prototype
+CFLAGS+=	-Wno-error=deprecated-non-prototype \
+		-Wno-error=format-truncation
 
 PLIST_FILES=	bin/hexcurse share/man/man1/hexcurse.1.gz