Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Jul 2023 06:11:33 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: ca332d577a93 - main - archivers/rubygem-bzip2-ruby: Fix build with llvm16
Message-ID:  <202307220611.36M6BX0S060982@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=ca332d577a93486753d105971aa8358cda18c131

commit ca332d577a93486753d105971aa8358cda18c131
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-07-22 05:28:40 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-07-22 06:11:20 +0000

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

diff --git a/archivers/rubygem-bzip2-ruby/Makefile b/archivers/rubygem-bzip2-ruby/Makefile
index c3aa628f6391..60bd57a14ca0 100644
--- a/archivers/rubygem-bzip2-ruby/Makefile
+++ b/archivers/rubygem-bzip2-ruby/Makefile
@@ -13,4 +13,10 @@ LICENSE_COMB=	dual
 
 USES=		gem
 
+.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?202307220611.36M6BX0S060982>