From nobody Mon Jun 24 07:49:19 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4W70Tr3Mmmz5NZ4c; Mon, 24 Jun 2024 07:49:20 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4W70Tr1x6yz4Z7r; Mon, 24 Jun 2024 07:49:20 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1719215360; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=hSiGSwXPHHQFsMkzIdHyC+9VtcPm98cCasL+pAmfpvE=; b=LAfF2hberftFkFbxfkB4oRn7DLRPh1dR72NA2oyKkcDnL96b92XYIAREle8vTbakmJT+Hh MSaJ4L1s+BUvUBnzM66mClgoWFDZ8GINDrf7fuVaQDFnqSmGIo0Zx9LsTvxdX2ZwRIhWGe thhk+EfulS+A3+Da+80U9+qpcQfB5kWi16iPbBl+EGnZJ9z+vTZR8U24qJLISn+AqNH8io ad9fjsBXKr0BT06zH2UElOmdLnQ1t7PWR/gVu7MWY/F5TNmQAetYGOwsA0KQ96fnhQASbC +MbLFvzFjFMB3eZreByaOzGjYIsU+A6VAy9U5BlVezXC9l6pCBxCOkVyP2NKow== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1719215360; a=rsa-sha256; cv=none; b=PMOyfvLZSR5E6B+3WqlBYjCTQ1chgLXkIc7XsdkbILKfPGyYrThk9KPIgQ0bGWN7E0fN79 F7kAGW4qBQNr0QHV8NPIh1NO9iY0EfhzbWXpp9Wk+n6O6tEiO5GA4nj0pEq3sHmZposPrX i6UrjStMtSTPqcXYjfTLLIHyQijVs8dmUtIv30Ta4PpPWHq0oQYiO0wBOvEUnuUN3AHzOc pElDrCtZnCYKcH6Fg8Tg4TnxPU3SEs/MqycM4wYRVHW9UHIDuqJsoPJOXyRfp/OXtkao0r h+dvTv1sqErApoQJnjLvxTRJ33O8FzTssyrXmfzT0wEvzXAyUUL/yG0ANCqXKQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1719215360; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=hSiGSwXPHHQFsMkzIdHyC+9VtcPm98cCasL+pAmfpvE=; b=uTYyzBZ8LWg2B2jrbn1jthMqFDgW+3C8RJTFQoYricRTGUBb/XPmv949w+6ftfY3yjzOk6 Hcbc1NQOxud2A/QteMsG47RCNRi9dGLjZ0L2wkZn/ZFtleXDs3VloCq8iwnm7CVOnM+tUS QRBzzJWcG/I7bFmn4bIxn4hNAO/ISbJ1kp3JUOt6wh6gCWFGhM9OWSnLbQGSYMgmTQpMWg axnRble3Y6/sxzbi8Gy5QKkAQObw4Fbxj9BjmH2knOTSZ7GI+L8SKbM0LhKc/mP2hhwUrv ntm8hr8aGogl96fbCUmu0NINShHpNPddec4afbePPkxKGqCNex++KMFpkE9B0A== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4W70Tr0j4pz18yZ; Mon, 24 Jun 2024 07:49:20 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 45O7nJ1c079448; Mon, 24 Jun 2024 07:49:19 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 45O7nJJ4079445; Mon, 24 Jun 2024 07:49:19 GMT (envelope-from git) Date: Mon, 24 Jun 2024 07:49:19 GMT Message-Id: <202406240749.45O7nJJ4079445@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 20fa112f6789 - main - audio/dragonfly-reverb-lv2: Fix build on 15 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 20fa112f678951733e4b52b94b1744749a2c5dcf Auto-Submitted: auto-generated The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=20fa112f678951733e4b52b94b1744749a2c5dcf commit 20fa112f678951733e4b52b94b1744749a2c5dcf Author: Yuri Victorovich AuthorDate: 2024-06-24 06:26:31 +0000 Commit: Yuri Victorovich CommitDate: 2024-06-24 07:49:06 +0000 audio/dragonfly-reverb-lv2: Fix build on 15 Reported by: fallout --- .../patch-dpf_distrho_src_DistrhoPluginVST2.cpp | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/audio/dragonfly-reverb-lv2/files/patch-dpf_distrho_src_DistrhoPluginVST2.cpp b/audio/dragonfly-reverb-lv2/files/patch-dpf_distrho_src_DistrhoPluginVST2.cpp new file mode 100644 index 000000000000..b1860d942a4e --- /dev/null +++ b/audio/dragonfly-reverb-lv2/files/patch-dpf_distrho_src_DistrhoPluginVST2.cpp @@ -0,0 +1,34 @@ +- patch from https://github.com/DISTRHO/DPF/commit/56c106c0fd886a5d29e018807f40adb00f57fe4e +- fixing build on FreeBSD 15 due to VST plugin issues + +--- dpf/distrho/src/DistrhoPluginVST2.cpp.orig 2023-04-15 12:38:30 UTC ++++ dpf/distrho/src/DistrhoPluginVST2.cpp +@@ -1603,11 +1603,7 @@ DISTRHO_PLUGIN_EXPORT + END_NAMESPACE_DISTRHO + + DISTRHO_PLUGIN_EXPORT +-#if defined(DISTRHO_OS_MAC) || defined(DISTRHO_OS_WASM) || defined(DISTRHO_OS_WINDOWS) +-const vst_effect* VSTPluginMain(vst_host_callback audioMaster); +-#else +-const vst_effect* VSTPluginMain(vst_host_callback audioMaster) asm ("main"); +-#endif ++const vst_effect* VSTPluginMain(vst_host_callback); + + DISTRHO_PLUGIN_EXPORT + const vst_effect* VSTPluginMain(const vst_host_callback audioMaster) +@@ -1731,4 +1727,14 @@ const vst_effect* VSTPluginMain(const vst_host_callbac + return effect; + } + +-// ----------------------------------------------------------------------- ++ ++#if !(defined(DISTRHO_OS_MAC) || defined(DISTRHO_OS_WASM) || defined(DISTRHO_OS_WINDOWS)) ++DISTRHO_PLUGIN_EXPORT ++const vst_effect* VSTPluginMainCompat(vst_host_callback) asm ("main"); ++ ++DISTRHO_PLUGIN_EXPORT ++const vst_effect* VSTPluginMainCompat(const vst_host_callback audioMaster) ++{ ++ return VSTPluginMain(audioMaster); ++} ++#endif