git: 82c83f2e84c8 - main - audio/zynaddsubfx: Fix building with CMake 4

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Wed, 14 Oct 2026 17:59:26 UTC
The branch main has been updated by arrowd:

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

commit 82c83f2e84c8e72991eba2091f05fa7c4d115c80
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2026-10-14 17:58:56 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2026-10-14 17:58:56 +0000

    audio/zynaddsubfx: Fix building with CMake 4
---
 audio/zynaddsubfx/Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/audio/zynaddsubfx/Makefile b/audio/zynaddsubfx/Makefile
index 4a1cd9c69b58..ab6965e4b1dc 100644
--- a/audio/zynaddsubfx/Makefile
+++ b/audio/zynaddsubfx/Makefile
@@ -87,6 +87,7 @@ PORTEXAMPLES=	*
 
 CMAKE_ARGS+=	-DZYN_DATADIR:STRING=${DATADIR}
 CMAKE_ARGS+=	-DZYN_EXAMPLESDIR:STRING=${EXAMPLESDIR}
+CMAKE_ARGS+=	-DCMAKE_POLICY_VERSION_MINIMUM=3.5
 
 .include <bsd.port.pre.mk>