Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Aug 2023 18:56:01 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: 4cc2a5c383d0 - main - audio/psindustrializer: Fix build with llvm16
Message-ID:  <202308051856.375Iu1pE075802@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=4cc2a5c383d0f39974e8d40715adaa69fc0f2272

commit 4cc2a5c383d0f39974e8d40715adaa69fc0f2272
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-08-05 18:32:10 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-08-05 18:55:50 +0000

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

diff --git a/audio/psindustrializer/Makefile b/audio/psindustrializer/Makefile
index 0d7b805833c7..64ec971ad00e 100644
--- a/audio/psindustrializer/Makefile
+++ b/audio/psindustrializer/Makefile
@@ -41,4 +41,10 @@ PULSE_DESC=		PulseAudio support
 PULSE_CONFIGURE_ENABLE=	pulse
 PULSE_LIB_DEPENDS=	libpulse.so:audio/pulseaudio
 
+.include <bsd.port.options.mk>
+
+.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
+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?202308051856.375Iu1pE075802>