Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Jun 2023 18:10:15 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: 4c181e16f11a - main - multimedia/bcmatroska2: Fix build with llvm16
Message-ID:  <202306241810.35OIAFKk017791@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=4c181e16f11a17997ddf84a1b69e973a2630dd27

commit 4c181e16f11a17997ddf84a1b69e973a2630dd27
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-24 17:33:17 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-24 18:10:03 +0000

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

diff --git a/multimedia/bcmatroska2/Makefile b/multimedia/bcmatroska2/Makefile
index da1e0815c4a2..0429401f87ec 100644
--- a/multimedia/bcmatroska2/Makefile
+++ b/multimedia/bcmatroska2/Makefile
@@ -20,4 +20,10 @@ USE_LDCONFIG=	yes
 CMAKE_ARGS=	-DCMAKE_PREFIX_PATH=${LOCALBASE} \
 		-DENABLE_STATIC=NO
 
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
+CFLAGS+=	-Wno-error=incompatible-function-pointer-types
+.endif
+
 .include <bsd.port.mk>


home | help

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