Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Jul 2023 20:02:45 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: 3a4966afef9c - main - devel/gorm: Fix build with llvm16
Message-ID:  <202307232002.36NK2jwd025185@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=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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202307232002.36NK2jwd025185>