Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Oct 2024 08:25:27 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 1cd0e68f7b9b - main - devel/RStudio: Fix build after recent boost update
Message-ID:  <202410100825.49A8PRs0081996@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1cd0e68f7b9bf4b98be27e62f8385efcda1eff8d

commit 1cd0e68f7b9bf4b98be27e62f8385efcda1eff8d
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-10-10 07:33:06 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-10-10 08:25:18 +0000

    devel/RStudio: Fix build after recent boost update
---
 devel/RStudio/files/patch-src_cpp_core_json_JsonRpc.cpp   | 11 +++++++++++
 .../RStudio/files/patch-src_cpp_shared__core_FilePath.cpp | 15 +++++++++++++++
 2 files changed, 26 insertions(+)

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();
+    }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202410100825.49A8PRs0081996>