summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-07-12 18:15:07 +0100
committerSam James <sam@gentoo.org>2024-07-12 18:15:07 +0100
commit5be5f449b91c4c912b8d6d9f91e2ddd360c1277c (patch)
treedf41ffb39e3107d5e51c476dc33a7baabb08cdde /media-sound
parentmedia-gfx/luminance-hdr: fix build w/ boost-1.85 (diff)
downloadgentoo-5be5f449b91c4c912b8d6d9f91e2ddd360c1277c.tar.gz
gentoo-5be5f449b91c4c912b8d6d9f91e2ddd360c1277c.tar.bz2
gentoo-5be5f449b91c4c912b8d6d9f91e2ddd360c1277c.zip
media-sound/pulseeffects: fix build w/ boost-1.85
Closes: https://bugs.gentoo.org/932322 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/pulseeffects/files/pulseeffects-4.8.7-boost-1.85.patch23
-rw-r--r--media-sound/pulseeffects/pulseeffects-4.8.7.ebuild3
2 files changed, 25 insertions, 1 deletions
diff --git a/media-sound/pulseeffects/files/pulseeffects-4.8.7-boost-1.85.patch b/media-sound/pulseeffects/files/pulseeffects-4.8.7-boost-1.85.patch
new file mode 100644
index 000000000000..2ec9b1be45bb
--- /dev/null
+++ b/media-sound/pulseeffects/files/pulseeffects-4.8.7-boost-1.85.patch
@@ -0,0 +1,23 @@
+https://bugs.gentoo.org/932322
+--- a/src/convolver_ui.cpp
++++ b/src/convolver_ui.cpp
+@@ -186,7 +186,7 @@
+
+ out_path.replace_extension(".irs");
+
+- boost::filesystem::copy_file(p, out_path, boost::filesystem::copy_option::overwrite_if_exists);
++ boost::filesystem::copy_file(p, out_path, boost::filesystem::copy_options::overwrite_existing);
+
+ util::debug(log_tag + "imported irs file to: " + out_path.string());
+ } else {
+--- a/src/presets_manager.cpp
++++ b/src/presets_manager.cpp
+@@ -472,7 +472,7 @@
+
+ out_path = user_dir / p.filename();
+
+- boost::filesystem::copy_file(p, out_path, boost::filesystem::copy_option::overwrite_if_exists);
++ boost::filesystem::copy_file(p, out_path, boost::filesystem::copy_options::overwrite_existing);
+
+ util::debug(log_tag + "imported preset to: " + out_path.string());
+ }
diff --git a/media-sound/pulseeffects/pulseeffects-4.8.7.ebuild b/media-sound/pulseeffects/pulseeffects-4.8.7.ebuild
index bd7592de8370..b8ce432d5c28 100644
--- a/media-sound/pulseeffects/pulseeffects-4.8.7.ebuild
+++ b/media-sound/pulseeffects/pulseeffects-4.8.7.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -61,6 +61,7 @@ BDEPEND="dev-libs/appstream-glib
PATCHES=(
"${FILESDIR}"/${PN}-4.8.7-meson_no_automagic.patch
+ "${FILESDIR}"/${PN}-4.8.7-boost-1.85.patch
)
S="${WORKDIR}"/easyeffects-${PV}