From nobody Sat Jun 22 16:37:55 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 4W60Jg3GLpz5Njh4; Sat, 22 Jun 2024 16:37:55 +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 4W60Jg2HgRz40vT; Sat, 22 Jun 2024 16:37:55 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1719074275; 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=SVu39Mrxo+tyhCq5vxPogMhR0ui81IiNJ/kQC217m10=; b=igMU+FUvW1ileKK+lzZ4xxLJCymhDgZJhNNsirNy+CRLwl0ZXUpFYvmA5AxtGk/3Y0Q+GM JweaFwHB6SaJt5DLob7tJnlraYIdsL7LKPl+xI/PRV89TVgzehA77w/3k9cpTidAV2XvKw Xz7p5sAYyM29ROjG+WDMdkCYm0Kc4O9rxqzMD3+KYZRTWNQNs0ce6Kwy7M5dQGaxjSJ1Km RBzUrJLh5TILTnCWkEsSl3SVo9fxIdTEZyqDDAzhNNPMlX2zSl56d9bcElpYbjWpSiu8iQ vXlb3HE/jqab0b3hssRgJhAx+trsw+DdZ2ZflYf2RXxWneIpUeFeIMfIT5M/bw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1719074275; a=rsa-sha256; cv=none; b=tg8RCulQAtUBKTxqCMiQH8Rf3ZyASTnBt0IW80H6dTIcqH1NcmeDT8Zg46DH5pooTI5oMG wCd7zSK2y0QWNo2aEuXKv85gxn9nXy7ELDqixzngWGw1EWKsNcupTQK1ZzNSBLdLYApCCT 7O1hk5uuEEBsXcb4I/23+wIBpBJrqqmMFGG8vDe/lHYXGG8MS/2wFGqpDNDcFdQcI8Be70 1qwdozEPRqDqWUS5hSRb9YByIGXLJ/HfMCWXGkiNFvp8OZK2N6ETVWci29ZLSaLIIBVMGt /QSSdQU1d+bXJjB4SINP4ICcEzfW+yLdA70eMAP6UIwN+HjukH4mSoS/sQK6cQ== 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=1719074275; 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=SVu39Mrxo+tyhCq5vxPogMhR0ui81IiNJ/kQC217m10=; b=p2k3dp7x455oe3WI7bjOiOQM9PIe/SLAgvAZXCorNmJgNsABk1Kqtu+6nkPPNlhvs1l4kk hRE545vF/k8hbz4Tq0ui112lNUK6oNafqTKmYzu9jbXNZHPzMKoagqfzfkSL/9cIB5zOR0 GWjxwlm7QduF9KeHETcwWCm2WV9EoG9tXe3TIu6ZsE1XLxI//i20EbAbDbhLG8aRLwXw5z T0quockNXxFkaiv7I36xQXIcFY6bRXG7ade10lkvfGBLULDkIHKW0tSWeoJjmnhuAgyV6F 63ZHG6gKufJB6lbsDbKIrVYFNxCdyoAKqFqVAQQT/VKHHODHUFQ8PeMdql3mdg== 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 4W60Jg1nBZzysl; Sat, 22 Jun 2024 16:37:55 +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 45MGbtZH097963; Sat, 22 Jun 2024 16:37:55 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 45MGbtuH097960; Sat, 22 Jun 2024 16:37:55 GMT (envelope-from git) Date: Sat, 22 Jun 2024 16:37:55 GMT Message-Id: <202406221637.45MGbtuH097960@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: b39ae635bf27 - main - audio/dpf-plugins-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: b39ae635bf272fe51b230eab19ac5207f8a414e3 Auto-Submitted: auto-generated The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=b39ae635bf272fe51b230eab19ac5207f8a414e3 commit b39ae635bf272fe51b230eab19ac5207f8a414e3 Author: Yuri Victorovich AuthorDate: 2024-06-22 16:37:28 +0000 Commit: Yuri Victorovich CommitDate: 2024-06-22 16:37:28 +0000 audio/dpf-plugins-lv2: Fix build on 15 --- .../patch-dpf_distrho_src_DistrhoPluginVST2.cpp | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/audio/dpf-plugins-lv2/files/patch-dpf_distrho_src_DistrhoPluginVST2.cpp b/audio/dpf-plugins-lv2/files/patch-dpf_distrho_src_DistrhoPluginVST2.cpp new file mode 100644 index 000000000000..b1860d942a4e --- /dev/null +++ b/audio/dpf-plugins-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