From nobody Sat Mar 30 09:01: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 4V6B9H5hhBz5Gb55; Sat, 30 Mar 2024 09:01: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 4V6B9H4nvVz4btd; Sat, 30 Mar 2024 09:01:55 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1711789315; 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=6ix+30x/1XuV8Xi5GA9+ORspoIqEi/cTbM67MuurFNA=; b=bt2c+xqQYJZFmBfTlPnXo5itgok0GcpKCURWUQ+ZBZcbZP3YSGrqLmcS2EgmssxWmf8OgP GcInjliSgKUPHSGfL2hcs3C/k4Vt0aoRAuuxhkLi4azfx9eDBa6SsTF3nSjKsv23akvNiE 8tjHbFRg+l3QBgYl6CcKEmk9AEK/sRRtqWJA/Z/7GScsf2Z+rX9pbQ8LkYNNTfPxl8CCAe fcjFrsuFMRUDtrePFz+tw2IU8nX3Lyi5ZHR7tEFMgRHgXyO4sSiy64xPgTx4z5RZMnz6v3 tQbwG/QbFDB80RFw4x8VoSy5x9io72RetvtbqFw8IV3MF7nBsHzX2u1ARPv2nQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1711789315; a=rsa-sha256; cv=none; b=AKWl2FLEG2eRMQ/C/L0e7fFyyR1IMploosYq78TiWrWUZLdGN7JcWxedVWw3CB0jvEOkgA QxcPXgfBDYM+2nbtHN2M7bmx9LomrtYdQ0H+de36Oblysp1SOtedoqCzgsCjhuhfni9d3h DqDtIomsCpz/qvCDTOCMNlr1AJR/rInNTMKGCzp6+m7rbzPijIE2+82YqEXh2330iSJQ97 Aq3pvsW3WBcMnRrYFAoFlVfzsB79am0oVSCCxAASiA67eDuNVtELyyd7+NruVrBSzVe/4e AiNsws67no9yPlFXeyXcHDCMSbOhkSkzIT6129hix0U+M8MCVD5ZBgk4O3Dsaw== 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=1711789315; 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=6ix+30x/1XuV8Xi5GA9+ORspoIqEi/cTbM67MuurFNA=; b=dhKHuw7iE6wB9FOsZ+1Hrp7Jm20jWbSdbJ4/UjKYJsDh+r4/s2Yyo4i/3HYnNdDTh0tiLT XKH6yMZ/bSupMC1yel/gFjHunnCEue6nhb2XFuALNidnyYG5EVe+E3mjhGlHuxF4GwvkRW dlIr5mmqBPuQOxs7zssrOXNML4qvcoYUwIXlQMspqIqJ009HYWklURI2MXXcIUeBIWxV51 V3qfMckkT6srObMXc75EAWGLWQkgHy4jzlEnPR02CyMfGhGVK/k2r/CWhLRBGvtnALyASy rMI4/miXsntxRk3Uii8PV8QMdeVV4be1RqLrTXm16ds3p5QKP7Slr7ewCeaG9Q== 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 4V6B9H4PN4zp6X; Sat, 30 Mar 2024 09:01: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 42U91taj092507; Sat, 30 Mar 2024 09:01:55 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 42U91trP092504; Sat, 30 Mar 2024 09:01:55 GMT (envelope-from git) Date: Sat, 30 Mar 2024 09:01:55 GMT Message-Id: <202403300901.42U91trP092504@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Fernando =?utf-8?Q?Apestegu=C3=ADa?= Subject: git: 5b9d502b14bf - main - audio/ardour: Fix runtime error 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: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: fernape X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 5b9d502b14bf86e65de2e5d76dde6ac96d1917af Auto-Submitted: auto-generated The branch main has been updated by fernape: URL: https://cgit.FreeBSD.org/ports/commit/?id=5b9d502b14bf86e65de2e5d76dde6ac96d1917af commit 5b9d502b14bf86e65de2e5d76dde6ac96d1917af Author: Fernando ApesteguĂ­a AuthorDate: 2024-03-26 19:01:42 +0000 Commit: Fernando ApesteguĂ­a CommitDate: 2024-03-30 09:01:41 +0000 audio/ardour: Fix runtime error Undefined symbol at runtime when building with default options Upstream PR: https://github.com/Ardour/ardour/pull/883 PR: 277938 Reported by: phryk-ports@wzff.de Approved by: dev@submerge.ch (maintainer) --- audio/ardour/Makefile | 1 + audio/ardour/files/patch-libs_ardour_session.cc | 26 +++++++++++++++++++++++++ 2 files changed, 27 insertions(+) diff --git a/audio/ardour/Makefile b/audio/ardour/Makefile index 27b730fd9e4d..2caa89eb4f05 100644 --- a/audio/ardour/Makefile +++ b/audio/ardour/Makefile @@ -1,5 +1,6 @@ PORTNAME= ardour DISTVERSION= 8.4.0 +PORTREVISION= 1 CATEGORIES= audio # Official source download is tailored to browsers, downloads from github are # deliberately made empty. Put the badly named distfile into a subdirectory. diff --git a/audio/ardour/files/patch-libs_ardour_session.cc b/audio/ardour/files/patch-libs_ardour_session.cc new file mode 100644 index 000000000000..7655ac83d243 --- /dev/null +++ b/audio/ardour/files/patch-libs_ardour_session.cc @@ -0,0 +1,26 @@ +--- libs/ardour/session.cc.orig 2024-02-21 00:37:39 UTC ++++ libs/ardour/session.cc +@@ -136,7 +136,10 @@ + #include "ardour/utils.h" + #include "ardour/vca_manager.h" + #include "ardour/vca.h" ++ ++#ifdef VST3_SUPPORT + #include "ardour/vst3_plugin.h" ++#endif // VST3_SUPPORT + + #include "midi++/port.h" + #include "midi++/mmc.h" +@@ -881,10 +884,12 @@ Session::destroy () + + _transport_fsm->stop (); + ++#ifdef VST3_SUPPORT + /* close VST3 Modules */ + for (auto const& nfo : PluginManager::instance().vst3_plugin_info()) { + std::dynamic_pointer_cast (nfo)->m.reset (); + } ++#endif // VST3_SUPPORT + + DEBUG_TRACE (DEBUG::Destruction, "Session::destroy() done\n"); +