Date: Sun, 23 Jul 2023 16:51:09 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: efd2fec0e7ef - main - archivers/dzip: Fix build with llvm16 Message-ID: <202307231651.36NGp9MU000790@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=efd2fec0e7efe154baf8e889f25b0438ae30f1d7 commit efd2fec0e7efe154baf8e889f25b0438ae30f1d7 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-07-23 16:42:09 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-07-23 16:42:09 +0000 archivers/dzip: Fix build with llvm16 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- archivers/dzip/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/archivers/dzip/Makefile b/archivers/dzip/Makefile index a5b584b37d2d..037bd9efb2e4 100644 --- a/archivers/dzip/Makefile +++ b/archivers/dzip/Makefile @@ -24,6 +24,12 @@ PORTDOCS= Readme OPTIONS_DEFINE= DOCS +.include <bsd.port.options.mk> + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + post-extract: .SILENT ${REINPLACE_CMD} -e 's/ifdef BIG_ENDIAN/if BYTE_ORDER == BIG_ENDIAN/' \ -e 's/ifndef BIG_ENDIAN/if BYTE_ORDER == LITTLE_ENDIAN/' \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202307231651.36NGp9MU000790>