Date: Sat, 5 Aug 2023 14:46:46 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: e9d156056cec - main - graphics/rawstudio: Fix build with llvm16 Message-ID: <202308051446.375Ekk7m059470@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=e9d156056cec6966b4b4c2c1f9d0963105ee2f68 commit e9d156056cec6966b4b4c2c1f9d0963105ee2f68 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-08-05 13:45:59 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-08-05 14:46:35 +0000 graphics/rawstudio: Fix build with llvm16 Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- graphics/rawstudio/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/graphics/rawstudio/Makefile b/graphics/rawstudio/Makefile index c8170d1c3cbb..774a3ede69c8 100644 --- a/graphics/rawstudio/Makefile +++ b/graphics/rawstudio/Makefile @@ -42,6 +42,12 @@ OPTIONS_SUB= yes NLS_USES= gettext +.include <bsd.port.options.mk> + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 )) +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + post-patch: @${REINPLACE_CMD} -e '/^pkg_modules=/s,libssl,gthread-2.0,' \ ${WRKSRC}/configure
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202308051446.375Ekk7m059470>