Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Aug 2023 20:30:35 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: 144b8438b316 - main - net-p2p/opendchub: Fix build with llvm16
Message-ID:  <202308062030.376KUZ0w034718@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=144b8438b316d92f5c64fa872dd1a18b3d46c7f4

commit 144b8438b316d92f5c64fa872dd1a18b3d46c7f4
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-08-06 20:29:50 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-08-06 20:30:19 +0000

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

diff --git a/net-p2p/opendchub/Makefile b/net-p2p/opendchub/Makefile
index 7a6b69e944a5..4cf53747c3be 100644
--- a/net-p2p/opendchub/Makefile
+++ b/net-p2p/opendchub/Makefile
@@ -20,6 +20,12 @@ OPTIONS_DEFINE=	DOCS
 PORTDOCS=	README configfiles general scriptdoc
 PLIST_FILES=	bin/${PORTNAME}
 
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
+CFLAGS+=	-Wno-error=incompatible-function-pointer-types
+.endif
+
 pre-install:
 	@${CHMOD} a+rx ${WRKSRC}/install-sh
 



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