git: 1a36157435bc - main - devel/rhtvision: Fix build with GCC 14

From: Lorenzo Salvadore <salvadore_at_FreeBSD.org>
Date: Thu, 05 Sep 2024 14:01:11 UTC
The branch main has been updated by salvadore:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1a36157435bcbe92f76d28ca3a7ce85fa2925bc9

commit 1a36157435bcbe92f76d28ca3a7ce85fa2925bc9
Author:     Lorenzo Salvadore <salvadore@FreeBSD.org>
AuthorDate: 2024-09-05 10:08:25 +0000
Commit:     Lorenzo Salvadore <salvadore@FreeBSD.org>
CommitDate: 2024-09-05 14:00:57 +0000

    devel/rhtvision: Fix build with GCC 14
    
    GCC 14 has transformed some warnings into errors: revert them to simple
    warnings.
    
    PR:             281228
    Reported by:    exp-run (antoine)
---
 devel/rhtvision/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/devel/rhtvision/Makefile b/devel/rhtvision/Makefile
index dab5d38014d0..6187df45b54f 100644
--- a/devel/rhtvision/Makefile
+++ b/devel/rhtvision/Makefile
@@ -23,7 +23,8 @@ CONFIGURE_ARGS=	--prefix=${STAGEDIR}${PREFIX} \
 		--no-libs-here
 USE_LDCONFIG=	yes
 
-CFLAGS+=	-I${LOCALBASE}/include
+CFLAGS+=	-I${LOCALBASE}/include \
+		-fpermissive
 LDFLAGS+=	-L${LOCALBASE}/lib
 
 # The port does not build with C++11 or later (bug 219275).