Date: Wed, 2 Aug 2023 18:53:59 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: 2d0d945a5884 - main - sysutils/cramfs: Fix build with llvm16 Message-ID: <202308021853.372Irxjx084611@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=2d0d945a5884215b6aa1195b265a4f854e0bb759 commit 2d0d945a5884215b6aa1195b265a4f854e0bb759 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-08-02 18:47:57 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-08-02 18:53:44 +0000 sysutils/cramfs: Fix build with llvm16 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- sysutils/cramfs/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sysutils/cramfs/Makefile b/sysutils/cramfs/Makefile index 1e8493856130..488f305450b0 100644 --- a/sysutils/cramfs/Makefile +++ b/sysutils/cramfs/Makefile @@ -17,6 +17,12 @@ MAKEFILE= GNUmakefile PLIST_FILES= sbin/cramfsck sbin/mkcramfs +.include <bsd.port.options.mk> + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/cramfsck ${STAGEDIR}${PREFIX}/sbin ${INSTALL_PROGRAM} ${WRKSRC}/mkcramfs ${STAGEDIR}${PREFIX}/sbin
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202308021853.372Irxjx084611>