Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Jul 2023 17:30:44 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: 1f947192e8b6 - main - devel/rubygem-curses: Fix build with llvm16
Message-ID:  <202307191730.36JHUi9x026834@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=1f947192e8b64f1eb3ca89de202cbbd0c0e25c65

commit 1f947192e8b64f1eb3ca89de202cbbd0c0e25c65
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-07-19 15:52:15 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-07-19 17:30:37 +0000

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

diff --git a/devel/rubygem-curses/Makefile b/devel/rubygem-curses/Makefile
index d07e067d3075..c8e8a1fb2716 100644
--- a/devel/rubygem-curses/Makefile
+++ b/devel/rubygem-curses/Makefile
@@ -12,4 +12,10 @@ LICENSE_COMB=	dual
 
 USES=		gem ncurses
 
+.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?202307191730.36JHUi9x026834>