diff --git a/devel/RStudio/files/patch-src_cpp_core_json_JsonRpc.cpp b/devel/RStudio/files/patch-src_cpp_core_json_JsonRpc.cpp new file mode 100644 index 000000000000..cd3dc8918d13 --- /dev/null +++ b/devel/RStudio/files/patch-src_cpp_core_json_JsonRpc.cpp @@ -0,0 +1,11 @@ +--- src/cpp/core/json/JsonRpc.cpp.orig 2024-10-10 06:06:47 UTC ++++ src/cpp/core/json/JsonRpc.cpp +@@ -193,7 +193,7 @@ bool JsonRpcResponse::hasAfterResponse() const + + bool JsonRpcResponse::hasAfterResponse() const + { +- return afterResponse_; ++ return (bool)afterResponse_; + } + + diff --git a/devel/RStudio/files/patch-src_cpp_shared__core_FilePath.cpp b/devel/RStudio/files/patch-src_cpp_shared__core_FilePath.cpp new file mode 100644 index 000000000000..12bac571df74 --- /dev/null +++ b/devel/RStudio/files/patch-src_cpp_shared__core_FilePath.cpp @@ -0,0 +1,15 @@ +--- src/cpp/shared_core/FilePath.cpp.orig 2024-10-10 05:51:04 UTC ++++ src/cpp/shared_core/FilePath.cpp +@@ -805,9 +805,9 @@ Error FilePath::copy(const FilePath& in_targetPath, bo + { + try + { +- boost::filesystem::copy_option::enum_type option = overwrite +- ? boost::filesystem::copy_option::overwrite_if_exists +- : boost::filesystem::copy_option::fail_if_exists; ++ boost::filesystem::copy_options option = overwrite ++ ? boost::filesystem::copy_options::overwrite_existing ++ : boost::filesystem::copy_options::none; + boost::filesystem::copy_file(m_impl->Path, in_targetPath.m_impl->Path, option); + return Success(); + }