git: e9d156056cec - main - graphics/rawstudio: Fix build with llvm16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 05 Aug 2023 14:46:46 UTC
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