Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Aug 2023 20:10:13 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: cf7b72e4adc6 - main - converters/rubygem-iconv: Fix build with llvm16
Message-ID:  <202308052010.375KAD13001079@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=cf7b72e4adc693bc86395ecb6f9c4674d0d01803

commit cf7b72e4adc693bc86395ecb6f9c4674d0d01803
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-08-05 19:45:29 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-08-05 19:45:29 +0000

    converters/rubygem-iconv: Fix build with llvm16
    
    Approved by:    portmgr (blanket)
    Sponsored by:   The FreeBSD Foundation
---
 converters/rubygem-iconv/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/converters/rubygem-iconv/Makefile b/converters/rubygem-iconv/Makefile
index f00b45f9ea14..2c532ba76766 100644
--- a/converters/rubygem-iconv/Makefile
+++ b/converters/rubygem-iconv/Makefile
@@ -14,4 +14,10 @@ LICENSE_FILE_RUBY=	${WRKSRC}/LICENSE.txt
 
 USES=		gem iconv
 
+.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?202308052010.375KAD13001079>