Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Jun 2023 00:10:06 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: 0f59f3265c75 - main - games/tuxpaint: Fix build with llvm16
Message-ID:  <202306260010.35Q0A6fC093667@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=0f59f3265c75404e19766d04f909e30131f48ba8

commit 0f59f3265c75404e19766d04f909e30131f48ba8
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-25 23:39:52 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-26 00:09:49 +0000

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

diff --git a/games/tuxpaint/Makefile b/games/tuxpaint/Makefile
index efda8aa938c0..81ac9b11d3bb 100644
--- a/games/tuxpaint/Makefile
+++ b/games/tuxpaint/Makefile
@@ -53,6 +53,12 @@ PORTDATA=	*
 
 OPTIONS_DEFINE=	DOCS
 
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
+CFLAGS+=	-Wno-error=incompatible-function-pointer-types
+.endif
+
 post-extract:
 	@${RM} -r ${WRKSRC}/fonts/locale/vi_docs
 



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