git: a8830cba5db6 - main - devel/rubygem-cool.io: Fix build with llvm16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 24 Jun 2023 20:49:33 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=a8830cba5db699b38053eb0481c9e71426fcda4e
commit a8830cba5db699b38053eb0481c9e71426fcda4e
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-24 20:22:52 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-24 20:48:38 +0000
devel/rubygem-cool.io: Fix build with llvm16
Approved by: portmgr (blanket)
Sponsored by: The FreeBSD Foundation
---
devel/rubygem-cool.io/Makefile | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/devel/rubygem-cool.io/Makefile b/devel/rubygem-cool.io/Makefile
index fbafd0c02372..d846ea2c9758 100644
--- a/devel/rubygem-cool.io/Makefile
+++ b/devel/rubygem-cool.io/Makefile
@@ -14,4 +14,10 @@ RUN_DEPENDS= rubygem-iobuffer>=1.0.0:devel/rubygem-iobuffer
USES= gem
+.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>