Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Jun 2023 19:30:50 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 83e1d12fd083 - main - multimedia/phonon: Fix build with llvm16
Message-ID:  <202306231930.35NJUoEQ074740@gitrepo.freebsd.org>

index | next in thread | raw e-mail

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>


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202306231930.35NJUoEQ074740>