diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2024-05-21 19:23:48 +0200 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2024-05-21 19:24:28 +0200 |
commit | 5e07ca5693cf685291678bb251dcb33c7312c3a2 (patch) | |
tree | a4c87efcd9c8752bc979416d85de3478d5812fec /media-sound | |
parent | games-emulation/pcsx2: update live for upstream's shaderc changes (diff) | |
download | gentoo-5e07ca5693cf685291678bb251dcb33c7312c3a2.tar.gz gentoo-5e07ca5693cf685291678bb251dcb33c7312c3a2.tar.bz2 gentoo-5e07ca5693cf685291678bb251dcb33c7312c3a2.zip |
media-sound/ardour: fixed compilation with boost 1.85
Closes: https://bugs.gentoo.org/932349
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/ardour/ardour-8.6.ebuild | 1 | ||||
-rw-r--r-- | media-sound/ardour/ardour-9999.ebuild | 1 | ||||
-rw-r--r-- | media-sound/ardour/files/ardour-6.8-boost-1.85.patch | 19 |
3 files changed, 21 insertions, 0 deletions
diff --git a/media-sound/ardour/ardour-8.6.ebuild b/media-sound/ardour/ardour-8.6.ebuild index 51d880ba1dae..365ac6ace241 100644 --- a/media-sound/ardour/ardour-8.6.ebuild +++ b/media-sound/ardour/ardour-8.6.ebuild @@ -71,6 +71,7 @@ DEPEND="${RDEPEND} PATCHES=( "${FILESDIR}/${PN}-6.8-metadata.patch" + "${FILESDIR}/${PN}-6.8-boost-1.85.patch" ) pkg_pretend() { diff --git a/media-sound/ardour/ardour-9999.ebuild b/media-sound/ardour/ardour-9999.ebuild index cee5f390d988..ffe4801efe13 100644 --- a/media-sound/ardour/ardour-9999.ebuild +++ b/media-sound/ardour/ardour-9999.ebuild @@ -71,6 +71,7 @@ DEPEND="${RDEPEND} PATCHES=( "${FILESDIR}/${PN}-6.8-metadata.patch" + "${FILESDIR}/${PN}-6.8-boost-1.85.patch" ) pkg_pretend() { diff --git a/media-sound/ardour/files/ardour-6.8-boost-1.85.patch b/media-sound/ardour/files/ardour-6.8-boost-1.85.patch new file mode 100644 index 000000000000..ffa8a6b092b6 --- /dev/null +++ b/media-sound/ardour/files/ardour-6.8-boost-1.85.patch @@ -0,0 +1,19 @@ +--- Ardour-8.6.0.orig/libs/surfaces/websockets/message.cc ++++ Ardour-8.6.0/libs/surfaces/websockets/message.cc +@@ -58,14 +58,14 @@ NodeStateMessage::NodeStateMessage (void + + _state = NodeState (root.get<std::string> ("node")); + +- pt::ptree addr = root.get_child ("addr", pt::ptree ()); ++ pt::ptree addr = root.get_child ("addr"); + + for (pt::ptree::iterator it = addr.begin (); it != addr.end (); ++it) { + // throws if datatype not uint32_t + _state.add_addr (boost::lexical_cast<uint32_t> (it->second.data ())); + } + +- pt::ptree val = root.get_child ("val", pt::ptree ()); ++ pt::ptree val = root.get_child ("val"); + + for (pt::ptree::iterator it = val.begin (); it != val.end (); ++it) { + std::string val = it->second.data (); |