git: de5879ca01bb - main - x11-wm/compiz: Fix build with llvm16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 18 Jul 2023 15:50:48 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=de5879ca01bb6a7aed213ce32f829d7866267fc6
commit de5879ca01bb6a7aed213ce32f829d7866267fc6
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-07-18 14:48:02 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-07-18 15:50:38 +0000
x11-wm/compiz: Fix build with llvm16
Approved by: portmgr (blanket)
Sponsored by: The FreeBSD Foundation
---
x11-wm/compiz/Makefile | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/x11-wm/compiz/Makefile b/x11-wm/compiz/Makefile
index f7bc458cbea5..2e2360f1a7cb 100644
--- a/x11-wm/compiz/Makefile
+++ b/x11-wm/compiz/Makefile
@@ -70,6 +70,10 @@ SVG_USE= GNOME=librsvg2
.include <bsd.port.options.mk>
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
+CFLAGS+= -Wno-error=incompatible-function-pointer-types
+.endif
+
.if ${PORT_OPTIONS:MDBUS} && ${PORT_OPTIONS:MGTK2}
CONFIGURE_ARGS+= --enable-dbus-glib
BUILD_DEPENDS+= ${LOCALBASE}/libdata/pkgconfig/dbus-glib-1.pc:devel/dbus-glib