From nobody Thu Oct 03 20:49:25 2024 X-Original-To: dev-commits-ports-all@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 4XKP1L0K0Wz5YmfN; Thu, 03 Oct 2024 20:49:26 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XKP1K6t8Kz4GZc; Thu, 3 Oct 2024 20:49:25 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727988566; 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=lsoLOkUC/g2Fp7fTJClCHDJXTItYQLo+QVWLHXOj480=; b=LVYzE2/rYG3e80YNfumyw31rE0bTne15HJKh+TJvGRO3fyXg5hXte8YHstkQ8lxON1zbb1 QdFxEHHYgaNlw9KwEtHt/0d264NC01qgW8r6AE2BKoaU08bDB3Tr6YkSUgBenImO7q0VcE X71XSd+fymKRQLudZ+tof7nKh5tzv2YkQ+uqOfChf5F/xtaGLK5MKVdr/wGbdyZALER2bO lfo8QJvIth6Z0KCKybrBB8UYUV/xZgGE9e+3pTl1D/OVogu1fumn3w7RFIEcNPzGqyQI0V Rh3HK2OWDDDztXmx0ftJj9/kXouANVYotcP3juJ3DZPaQF67AtKpuSUgz0Ld6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1727988566; 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=lsoLOkUC/g2Fp7fTJClCHDJXTItYQLo+QVWLHXOj480=; b=nblx29bDqkE7DXCVEutUvBYjQCfc2/Y3Nj+daC3ujxbgBLfbirs3VPC4E9b8CyEIuQa1A6 tEei6mrqAzLvJ9VW7AgC6A+ft9vGqca89i3WqCLwG5t6P77abFVsyjwFVemtbzXXBfTlKU fsqDOX1RYeUq0p5O5SVDVj6yUb4xM3s+xBC8ksXCG0Szf4BQ/uA0+lyjdQoXBj17N5huMQ F7kzS2otiV3axQ42mK5gt1ivDLM2ex/0taX0BSByYclZmy5mLzklBf5x7NB1p37nC4N7dB VMTv6QctYYYF8nnG4K4R0X64OUKNhSnK2hTlxXthdp436rVy5wG0IV4RFi0xGg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1727988566; a=rsa-sha256; cv=none; b=JIk0s4p3IjZJi80r0Qz0/C0RbWa25euybHtjXz3dLeO9NQ6unAzenAeH4BGUC0n1dRlMgP T3p5sNyM4JaTq4JcX9cOwhEV7+DJYcQrKSbqPLNdghfqCy9YBNnjHLOtohNbBfRBkw8j8s gj6C1zaA2yNK5RqmIAayMeDShTX5+PsAPDZOgkueqEbeI0Ye8PYBL+r2ikogidULfZJKEr x27PEU+XskQxw4Rmmsvaax8h4RylmtYPJF4OngeThZ6Hy2gSfANZtXuDJ9XdcDxHGjyJnU D0Y0mxhpj3li8eWOs14gXRS4XjE+xU9Q1s5/KrsTB4Y7ERNJsUOweQ8oPBxHtA== 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 4XKP1K6TP2z15Zq; Thu, 3 Oct 2024 20:49:25 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 493KnPRS000247; Thu, 3 Oct 2024 20:49:25 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 493KnP43000244; Thu, 3 Oct 2024 20:49:25 GMT (envelope-from git) Date: Thu, 3 Oct 2024 20:49:25 GMT Message-Id: <202410032049.493KnP43000244@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Christoph Moench-Tegeder Subject: git: a3f92013e9de - main - audio/ardour: unbreak build with boost-1.85 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: cmt X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a3f92013e9de34028bcffceba68489a8b7a6a27d Auto-Submitted: auto-generated The branch main has been updated by cmt: URL: https://cgit.FreeBSD.org/ports/commit/?id=a3f92013e9de34028bcffceba68489a8b7a6a27d commit a3f92013e9de34028bcffceba68489a8b7a6a27d Author: Christoph Moench-Tegeder AuthorDate: 2024-10-03 20:48:45 +0000 Commit: Christoph Moench-Tegeder CommitDate: 2024-10-03 20:48:45 +0000 audio/ardour: unbreak build with boost-1.85 Patch from upstream --- .../patch-libs_surfaces_websockets_message.cc | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/audio/ardour/files/patch-libs_surfaces_websockets_message.cc b/audio/ardour/files/patch-libs_surfaces_websockets_message.cc new file mode 100644 index 000000000000..8c10908bc672 --- /dev/null +++ b/audio/ardour/files/patch-libs_surfaces_websockets_message.cc @@ -0,0 +1,32 @@ +commit f94bde59d740d65e67c5cd13af4d7ea51453aeaa +Author: Fabio Pesari +Date: Sun Sep 15 11:04:30 2024 +0200 + + Fix for Boost 1.8.5 + + Recent boost prevents calls to `get_child` with temporary + default values. + +diff --git libs/surfaces/websockets/message.cc libs/surfaces/websockets/message.cc +index eff8e48ac3..0aee14d0df 100644 +--- libs/surfaces/websockets/message.cc ++++ libs/surfaces/websockets/message.cc +@@ -58,14 +58,16 @@ NodeStateMessage::NodeStateMessage (void* buf, size_t len) + + _state = NodeState (root.get ("node")); + +- pt::ptree addr = root.get_child ("addr", pt::ptree ()); ++ pt::ptree addr = pt::ptree (); ++ addr = root.get_child ("addr", addr); + + for (pt::ptree::iterator it = addr.begin (); it != addr.end (); ++it) { + // throws if datatype not uint32_t + _state.add_addr (boost::lexical_cast (it->second.data ())); + } + +- pt::ptree val = root.get_child ("val", pt::ptree ()); ++ pt::ptree val = pt::ptree (); ++ val = root.get_child ("val", val); + + for (pt::ptree::iterator it = val.begin (); it != val.end (); ++it) { + std::string val = it->second.data ();