git: 99bb944fb6d4 - main - games/libgnome-games-support: Fix build with llvm16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 24 Jun 2023 04:38:04 UTC
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>