Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Jun 2023 20:49:27 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: b079376d080b - main - www/libwww: Fix build with llvm16
Message-ID:  <202306242049.35OKnRIu073596@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=b079376d080b1469cc02c39059072b1dbba96836

commit b079376d080b1469cc02c39059072b1dbba96836
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-24 19:11:15 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-24 20:48:36 +0000

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

diff --git a/www/libwww/Makefile b/www/libwww/Makefile
index 4d78d5746a2e..db8aaf7acc1f 100644
--- a/www/libwww/Makefile
+++ b/www/libwww/Makefile
@@ -23,6 +23,12 @@ GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--enable-shared --with-zlib --with-ssl=${OPENSSLBASE}
 CPE_VENDOR=	w3c
 
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
+CFLAGS+=	-Wno-error=incompatible-function-pointer-types
+.endif
+
 post-install:
 	${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/*.so
 



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