git: 5644a4edef6e - main - sysutils/mate-settings-daemon: Fix build with llvm16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 18 Jul 2023 13:35:52 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=5644a4edef6e872af16aef336935a961030ba37e commit 5644a4edef6e872af16aef336935a961030ba37e Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-07-18 13:34:58 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-07-18 13:35:35 +0000 sysutils/mate-settings-daemon: Fix build with llvm16 Sponsored by: The FreeBSD Foundation --- sysutils/mate-settings-daemon/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sysutils/mate-settings-daemon/Makefile b/sysutils/mate-settings-daemon/Makefile index 5d262205431c..a4bc08fcacc4 100644 --- a/sysutils/mate-settings-daemon/Makefile +++ b/sysutils/mate-settings-daemon/Makefile @@ -72,4 +72,10 @@ OPTIONS_SUB= yes PULSEAUDIO_CONFIGURE_ENABLE= pulse PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio +.include <bsd.port.options.mk> + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + .include <bsd.port.mk>