summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2021-06-11 20:25:07 +0200
committerPacho Ramos <pacho@gentoo.org>2021-06-11 20:34:33 +0200
commitf6bde9a800ea09a38d7e0fab20ee1379bf339a89 (patch)
tree367e71c793e3b4967d219b2e9dfb30235a3ddbae /sci-mathematics/rstudio/files
parentgnome-extra/gnome-shell-extension-appindicator: Bump to v40 (diff)
downloadgentoo-f6bde9a800ea09a38d7e0fab20ee1379bf339a89.tar.gz
gentoo-f6bde9a800ea09a38d7e0fab20ee1379bf339a89.tar.bz2
gentoo-f6bde9a800ea09a38d7e0fab20ee1379bf339a89.zip
sci-mathematics/rstudio: Fix build with boost-1.76.0
Thanks-to: Dmitry S. Kulyabov Package-Manager: Portage-3.0.19, Repoman-3.0.3 Signed-off-by: Pacho Ramos <pacho@gentoo.org>
Diffstat (limited to 'sci-mathematics/rstudio/files')
-rw-r--r--sci-mathematics/rstudio/files/rstudio-1.3.1093-boost-1.76.patch55
1 files changed, 55 insertions, 0 deletions
diff --git a/sci-mathematics/rstudio/files/rstudio-1.3.1093-boost-1.76.patch b/sci-mathematics/rstudio/files/rstudio-1.3.1093-boost-1.76.patch
new file mode 100644
index 000000000000..5e832db2883b
--- /dev/null
+++ b/sci-mathematics/rstudio/files/rstudio-1.3.1093-boost-1.76.patch
@@ -0,0 +1,55 @@
+--- rstudio-1.3.1093-orig/src/cpp/r/session/RStdCallbacks.cpp
++++ rstudio-1.3.1093/src/cpp/r/session/RStdCallbacks.cpp
+@@ -19,7 +19,7 @@
+
+ #include <boost/function.hpp>
+ #include <boost/regex.hpp>
+-#include <boost/bind.hpp>
++#include <boost/bind/bind.hpp>
+
+ #include <r/RExec.hpp>
+ #include <r/ROptions.hpp>
+@@ -58,6 +58,7 @@ __declspec(dllimport) SA_TYPE SaveAction
+ }
+
+ using namespace rstudio::core;
++using namespace boost::placeholders;
+
+ namespace rstudio {
+ namespace r {
+--- rstudio-1.3.1093-orig/src/cpp/core/HtmlUtils.cpp.orig
++++ rstudio-1.3.1093/src/cpp/core/HtmlUtils.cpp
+@@ -19,13 +19,15 @@
+
+ #include <boost/format.hpp>
+ #include <boost/algorithm/string/predicate.hpp>
+-#include <boost/bind.hpp>
++#include <boost/bind/bind.hpp>
+
+ #include <core/Base64.hpp>
+ #include <core/FileSerializer.hpp>
+ #include <core/RegexUtils.hpp>
+
+ #include <core/http/Util.hpp>
++
++using namespace boost::placeholders;
+
+ namespace rstudio {
+ namespace core {
+--- rstudio-1.3.1093-orig/src/cpp/core/file_lock/FileLock.cpp.orig
++++ rstudio-1.3.1093/src/cpp/core/file_lock/FileLock.cpp
+@@ -26,10 +26,12 @@
+ #include <core/system/Environment.hpp>
+
+ #include <boost/algorithm/string.hpp>
+-#include <boost/bind.hpp>
++#include <boost/bind/bind.hpp>
+
+ // borrowed from SessionConstants.hpp
+ #define kRStudioSessionRoute "RSTUDIO_SESSION_ROUTE"
++
++using namespace boost::placeholders;
+
+ namespace rstudio {
+ namespace core {
+ \ No newline at end of file