Date: Sun, 6 Aug 2023 12:30:48 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: 03b2c7ada53c - main - graphics/rubygem-opengl: Fix build with llvm16 Message-ID: <202308061230.376CUmjU034933@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=03b2c7ada53cd82a7b1d9d7d68b0683f2d224012 commit 03b2c7ada53cd82a7b1d9d7d68b0683f2d224012 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-08-06 11:57:41 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-08-06 12:30:36 +0000 graphics/rubygem-opengl: Fix build with llvm16 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- graphics/rubygem-opengl/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/graphics/rubygem-opengl/Makefile b/graphics/rubygem-opengl/Makefile index bb6e82c19b35..77b9facdee56 100644 --- a/graphics/rubygem-opengl/Makefile +++ b/graphics/rubygem-opengl/Makefile @@ -16,4 +16,10 @@ LICENSE_FILE= ${WRKSRC}/MIT-LICENSE USES= gl gem USE_GL= glut +.include <bsd.port.options.mk> + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) +CONFIGURE_ARGS+= --with-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?202308061230.376CUmjU034933>