Date: Sun, 23 Jul 2023 18:45:32 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: 44de32f51fdf - main - textproc/rman: Fix build with llvm16 Message-ID: <202307231845.36NIjWci091552@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=44de32f51fdf90aabdfe2374b20e05965fd85714 commit 44de32f51fdf90aabdfe2374b20e05965fd85714 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-07-23 18:32:40 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-07-23 18:45:16 +0000 textproc/rman: Fix build with llvm16 Sponsored by: The FreeBSD Foundation --- textproc/rman/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/textproc/rman/Makefile b/textproc/rman/Makefile index 559ad3cb4c9f..e39d7c96a0f2 100644 --- a/textproc/rman/Makefile +++ b/textproc/rman/Makefile @@ -11,6 +11,12 @@ MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS}" \ PLIST_FILES= bin/rman man/man1/rman.1.gz +.include <bsd.port.options.mk> + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/rman
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202307231845.36NIjWci091552>