Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Jun 2023 10:58:57 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: 74d3b748bc25 - main - audio/play: Fix build with llvm16
Message-ID:  <202306241058.35OAwvIW099366@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=74d3b748bc256e7f5e0190ac68994687943acbfb

commit 74d3b748bc256e7f5e0190ac68994687943acbfb
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-24 10:20:25 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-24 10:58:47 +0000

    audio/play: Fix build with llvm16
    
    Sponsored by:   The FreeBSD Foundation
---
 audio/play/Makefile | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/audio/play/Makefile b/audio/play/Makefile
index f58c839cbe9c..59cc796ed91e 100644
--- a/audio/play/Makefile
+++ b/audio/play/Makefile
@@ -25,6 +25,10 @@ PLIST_FILES=	bin/play man/ja/man1/play.1.gz
 CFLAGS+=	-Wno-error=int-conversion
 .endif
 
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
+CFLAGS+=	-Wno-error=incompatible-function-pointer-types
+.endif
+
 post-patch:
 .for file in play_audio.c mixer_ctl.c encode_sun.c speed.c
 	@${REINPLACE_CMD} '/soundcard\.h/s,machine,sys,' ${WRKSRC}/${file}


home | help

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