git: 971bb22118e9 - main - x11-toolkits/rubygem-gtk3: Fix build with llvm16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 24 Jun 2023 04:38:02 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=971bb22118e908103526f20550c38401001499e7 commit 971bb22118e908103526f20550c38401001499e7 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-06-24 00:59:38 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-06-24 04:37:51 +0000 x11-toolkits/rubygem-gtk3: Fix build with llvm16 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- x11-toolkits/rubygem-gtk3/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/x11-toolkits/rubygem-gtk3/Makefile b/x11-toolkits/rubygem-gtk3/Makefile index 1a7dbc8b2720..331d91415cad 100644 --- a/x11-toolkits/rubygem-gtk3/Makefile +++ b/x11-toolkits/rubygem-gtk3/Makefile @@ -17,4 +17,10 @@ RUN_DEPENDS= rubygem-atk>=${PORTVERSION}<${PORTVERSION}_99:accessibility/rubygem USES= gem gnome USE_GNOME= gtk30 +.include <bsd.port.options.mk> + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CONFIGURE_ARGS+= --with-cflags="-Wno-error=incompatible-function-pointer-types" +.endif + .include <bsd.port.mk>