git: b5ee32852223 - main - lang/clisp: Fix build with GCC 14

From: Lorenzo Salvadore <salvadore_at_FreeBSD.org>
Date: Fri, 15 Nov 2024 12:02:12 UTC
The branch main has been updated by salvadore:

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

commit b5ee3285222391d26dd59713ef187305b2d7e7f4
Author:     Lorenzo Salvadore <salvadore@FreeBSD.org>
AuthorDate: 2024-11-15 11:27:18 +0000
Commit:     Lorenzo Salvadore <salvadore@FreeBSD.org>
CommitDate: 2024-11-15 12:02:11 +0000

    lang/clisp: Fix build with GCC 14
    
    GCC 14 turns some warnings into errors. Add -fpermissive flag to switch
    them back to warnings.
    
    PR:             281236
---
 lang/clisp/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lang/clisp/Makefile b/lang/clisp/Makefile
index d62ad4ee5582..9c014ce5f966 100644
--- a/lang/clisp/Makefile
+++ b/lang/clisp/Makefile
@@ -29,6 +29,7 @@ CONFIGURE_ARGS=	--prefix="${PREFIX}" --mandir="${PREFIX}/share/man" \
 		--docdir="${DOCSDIR}" --with-libiconv=${ICONV_PREFIX}
 CONFIGURE_TARGET=	${ARCH:S/amd64/x86_64/}-portbld-freebsd${OSREL}
 # Complaints if the environment changes between build stages.
+CFLAGS+=	-fpermissive
 LDFLAGS+=	${LDFLAGS_${CHOSEN_COMPILER_TYPE}}
 LDFLAGS_gcc=	-lthr
 MAKE_ENV=	${CONFIGURE_ENV}