Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Sep 2024 14:01:11 GMT
From:      Lorenzo Salvadore <salvadore@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 1a36157435bc - main - devel/rhtvision: Fix build with GCC 14
Message-ID:  <202409051401.485E1BVC093014@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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).



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202409051401.485E1BVC093014>