git: 4cc2a5c383d0 - main - audio/psindustrializer: Fix build with llvm16
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 05 Aug 2023 18:56:01 UTC
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>