Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Jun 2023 04:38:04 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: 99bb944fb6d4 - main - games/libgnome-games-support: Fix build with llvm16
Message-ID:  <202306240438.35O4c4R5073639@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=99bb944fb6d45a043a999dfa2608cf3d0fbf359b

commit 99bb944fb6d45a043a999dfa2608cf3d0fbf359b
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-24 01:03:19 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-24 04:37:51 +0000

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

diff --git a/games/libgnome-games-support/Makefile b/games/libgnome-games-support/Makefile
index 588473d7352d..a231aab75def 100644
--- a/games/libgnome-games-support/Makefile
+++ b/games/libgnome-games-support/Makefile
@@ -19,4 +19,10 @@ PORTSCOUT=	limitw:1,even
 USES=		gettext gnome meson pkgconfig tar:xz vala:build
 USE_GNOME=	cairo gdkpixbuf2 gtk30
 
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
+CFLAGS+=	-Wno-error=incompatible-function-pointer-types
+.endif
+
 .include <bsd.port.mk>



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