commit:     5be5f449b91c4c912b8d6d9f91e2ddd360c1277c
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 12 17:15:07 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jul 12 17:15:07 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5be5f449

media-sound/pulseeffects: fix build w/ boost-1.85

Closes: https://bugs.gentoo.org/932322
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../files/pulseeffects-4.8.7-boost-1.85.patch      | 23 ++++++++++++++++++++++
 media-sound/pulseeffects/pulseeffects-4.8.7.ebuild |  3 ++-
 2 files changed, 25 insertions(+), 1 deletion(-)

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}

Reply via email to