git: 11add23844f4 - main - net/rubygem-ovirt-engine-sdk: Fix build with llvm16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 24 Jun 2023 18:10:19 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=11add23844f48b526bada898a2103b403db840e9
commit 11add23844f48b526bada898a2103b403db840e9
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-24 18:09:31 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-24 18:10:04 +0000
net/rubygem-ovirt-engine-sdk: Fix build with llvm16
Approved by: portmgr (blanket)
Sponsored by: The FreeBSD Foundation
---
net/rubygem-ovirt-engine-sdk/Makefile | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/net/rubygem-ovirt-engine-sdk/Makefile b/net/rubygem-ovirt-engine-sdk/Makefile
index f28dce47ede7..db86b8855b90 100644
--- a/net/rubygem-ovirt-engine-sdk/Makefile
+++ b/net/rubygem-ovirt-engine-sdk/Makefile
@@ -17,4 +17,10 @@ RUN_DEPENDS= rubygem-json>=1<3:devel/rubygem-json
USES= gem gnome
USE_GNOME= libxml2
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
+CONFIGURE_ARGS+= --with-cflags="-Wno-error=incompatible-function-pointer-types"
+.endif
+
.include <bsd.port.mk>