Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Aug 2023 16:22:32 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: 3a8028c3d171 - main - textproc/rubygem-fast_xs: Fix build with llvm16
Message-ID:  <202308021622.372GMWGc035866@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=3a8028c3d171e036c60a39bf64b0f84cf185338b

commit 3a8028c3d171e036c60a39bf64b0f84cf185338b
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-08-02 16:03:59 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-08-02 16:22:20 +0000

    textproc/rubygem-fast_xs: Fix build with llvm16
    
    Sponsored by:   The FreeBSD Foundation
---
 textproc/rubygem-fast_xs/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/textproc/rubygem-fast_xs/Makefile b/textproc/rubygem-fast_xs/Makefile
index 80bbb316cac8..a782fdb65e87 100644
--- a/textproc/rubygem-fast_xs/Makefile
+++ b/textproc/rubygem-fast_xs/Makefile
@@ -13,4 +13,10 @@ LICENSE=	MIT
 
 USES=		gem
 
+.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?202308021622.372GMWGc035866>