git: 83e1d12fd083 - main - multimedia/phonon: Fix build with llvm16

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Fri, 23 Jun 2023 19:30:50 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=83e1d12fd0838b9cb38867f54bef20790e05b3af

commit 83e1d12fd0838b9cb38867f54bef20790e05b3af
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-23 17:46:41 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-23 19:30:40 +0000

    multimedia/phonon: Fix build with llvm16
    
    Approved by:    portmgr (blanket)
    Sponsored by:   The FreeBSD Foundation
---
 multimedia/phonon/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/multimedia/phonon/Makefile b/multimedia/phonon/Makefile
index e1aa76acc376..bf39783fee05 100644
--- a/multimedia/phonon/Makefile
+++ b/multimedia/phonon/Makefile
@@ -32,4 +32,10 @@ PULSEAUDIO_USES=	gnome
 PULSEAUDIO_USE=		GNOME=glib20
 PULSEAUDIO_CMAKE_BOOL=	WITH_PulseAudio
 
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
+CXXFLAGS+=	-Wno-error=enum-constexpr-conversion
+.endif
+
 .include <bsd.port.mk>