git: 3a4966afef9c - main - devel/gorm: Fix build with llvm16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 23 Jul 2023 20:02:45 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=3a4966afef9c678c7652f351164c816ed398ac08 commit 3a4966afef9c678c7652f351164c816ed398ac08 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-07-23 20:00:31 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-07-23 20:02:30 +0000 devel/gorm: Fix build with llvm16 Sponsored by: The FreeBSD Foundation --- devel/gorm/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/devel/gorm/Makefile b/devel/gorm/Makefile index fabb83501cda..3564b591a5be 100644 --- a/devel/gorm/Makefile +++ b/devel/gorm/Makefile @@ -20,4 +20,10 @@ USE_LDCONFIG= ${GNUSTEP_SYSTEM_LIBRARIES} DEFAULT_LIBVERSION= 1.1.0 +.include <bsd.port.options.mk> + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CPPFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + .include <bsd.port.mk>