Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Jul 2023 22:16:22 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: b3166bd7027b - main - audio/gstreamer1-plugins-sndio: Fix build with llvm16
Message-ID:  <202307232216.36NMGM7G041063@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh:

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

commit b3166bd7027b611d8a88773a8622cb5f625366db
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-07-23 20:04:33 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-07-23 22:16:14 +0000

    audio/gstreamer1-plugins-sndio: Fix build with llvm16
    
    Sponsored by:   The FreeBSD Foundation
---
 audio/gstreamer1-plugins-sndio/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/audio/gstreamer1-plugins-sndio/Makefile b/audio/gstreamer1-plugins-sndio/Makefile
index 849127a5787b..5ead937d9f41 100644
--- a/audio/gstreamer1-plugins-sndio/Makefile
+++ b/audio/gstreamer1-plugins-sndio/Makefile
@@ -19,4 +19,10 @@ USE_GNOME=	glib20
 
 PLIST_FILES=	lib/gstreamer-1.0/libgstsndio.so
 
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
+CFLAGS+=	-Wno-error=incompatible-function-pointer-types
+.endif
+
 .include <bsd.port.mk>



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