Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Jun 2023 12:04:05 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: 64e9410f0700 - main - databases/pxlib: Fix build with llvm16
Message-ID:  <202306241204.35OC45MY015501@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=64e9410f0700ec6c3ab487512ecc29b02c904e6e

commit 64e9410f0700ec6c3ab487512ecc29b02c904e6e
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-24 11:50:05 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-24 12:03:43 +0000

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

diff --git a/databases/pxlib/Makefile b/databases/pxlib/Makefile
index 394759337e15..06c033034d46 100644
--- a/databases/pxlib/Makefile
+++ b/databases/pxlib/Makefile
@@ -28,6 +28,12 @@ NLS_CONFIGURE_OFF=	--disable-nls
 NLS_USES=	gettext
 INSTALL_TARGET=	install-strip
 
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
+CFLAGS+=	-Wno-error=incompatible-function-pointer-types
+.endif
+
 pre-build-MANPAGES-off:
 	${REINPLACE_CMD} -e 's/^DOCDIR =.*/DOCDIR =/' ${WRKSRC}/Makefile
 


home | help

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