summaryrefslogtreecommitdiff
path: root/media-sound/pulseeffects/files/pulseeffects-4.8.7-boost-1.85.patch
blob: 2ec9b1be45bbeb30f3faa787331d7ba826b9fce4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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());
     }