Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Jul 2023 15:53:10 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: 85fe99848576 - main - devel/rubygem-rbtrace: Fix build with llvm16
Message-ID:  <202307231553.36NFrAd1008896@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=85fe99848576f3892011536ec25559d5fbb2295d

commit 85fe99848576f3892011536ec25559d5fbb2295d
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-07-23 12:11:28 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-07-23 15:53:01 +0000

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

diff --git a/devel/rubygem-rbtrace/Makefile b/devel/rubygem-rbtrace/Makefile
index 853ebd6b51d2..ae92c0f65cfc 100644
--- a/devel/rubygem-rbtrace/Makefile
+++ b/devel/rubygem-rbtrace/Makefile
@@ -18,4 +18,10 @@ USES=		gem
 
 PLIST_FILES=	bin/rbtrace
 
+.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>



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