Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jul 2023 17:43:19 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 4d77cd2d4d94 - main - games/prboom-plus: Fix build with llvm16
Message-ID:  <202307201743.36KHhJMi036601@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh:

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

commit 4d77cd2d4d941888c1bfcfd4846b35533eaa09d6
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-07-20 14:17:43 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-07-20 17:42:35 +0000

    games/prboom-plus: Fix build with llvm16
    
    Approved by:    portmgr (blanket)
    Sponsored by:   The FreeBSD Foundation
---
 games/prboom-plus/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/games/prboom-plus/Makefile b/games/prboom-plus/Makefile
index 62db9b0106ab..0b0c62e51e15 100644
--- a/games/prboom-plus/Makefile
+++ b/games/prboom-plus/Makefile
@@ -33,6 +33,12 @@ OPENGL_USES=	gl
 OPENGL_USE=	GL=glu
 OPENGL_CONFIGURE_ENABLE=	gl
 
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
+CFLAGS+=	-Wno-error=incompatible-function-pointer-types
+.endif
+
 post-patch:
 	@${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} \
 		-e '/^gamesdir/s|/games|/bin|' \



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