// get client identity
core::system::user::UserIdentity userIdentity;
+--- rstudio-1.1.143/src/cpp/core/FilePath.cpp~ 2020-08-12 00:57:08.000000000 +0200
++++ rstudio-1.1.143/src/cpp/core/FilePath.cpp 2020-08-12 00:57:57.852543328 +0200
+@@ -1020,7 +1020,7 @@
+ {
+ // NOTE: The path gets round-tripped through toString/fromString, would
+ // be nice to have a direct constructor
+- if (!iterationFunction(itr.level(),
++ if (!iterationFunction(itr.depth(),
+ FilePath(BOOST_FS_PATH2STR(itr->path()))))
+ {
+ // end the iteration if requested
+From ea8aa234b48331d34b8002fab58b4b393864e79b Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?I=C3=B1aki=20=C3=9Acar?= <iucar@fedoraproject.org>
+Date: Sat, 30 May 2020 15:33:38 +0200
+Subject: [PATCH] boost-173-global-placeholders
+
+---
+ src/cpp/CMakeLists.txt | 1 +
+ src/cpp/core/system/PosixChildProcessTracker.cpp | 1 +
+ src/cpp/core/system/PosixOutputCapture.cpp | 2 ++
+ src/cpp/core/system/PosixSystem.cpp | 1 +
+ 4 files changed, 5 insertions(+)
+
+diff --git a/src/cpp/CMakeLists.txt b/src/cpp/CMakeLists.txt
+index af79150..d049524 100644
+--- a/src/cpp/CMakeLists.txt
++++ b/src/cpp/CMakeLists.txt
+@@ -28,6 +28,7 @@ include("${CMAKE_CURRENT_SOURCE_DIR}/../../CMakeGlobals.txt")
+
+ # global directives
+ add_definitions(-DBOOST_ENABLE_ASSERT_HANDLER)
++add_definitions(-DBOOST_BIND_GLOBAL_PLACEHOLDERS)
+
+ # explicitly do not use new c++ 11 features for websocketpp
+ # they currently do not work with our source
+diff --git a/src/cpp/core/system/PosixChildProcessTracker.cpp b/src/cpp/core/system/PosixChildProcessTracker.cpp
+index 2ee1a81..976da4f 100644
+--- a/src/cpp/core/system/PosixChildProcessTracker.cpp
++++ b/src/cpp/core/system/PosixChildProcessTracker.cpp
+@@ -18,6 +18,7 @@
+ #include <sys/wait.h>
+
+ #include <boost/format.hpp>
++#include <boost/bind.hpp>
+
+ namespace rstudio {
+ namespace core {
+diff --git a/src/cpp/core/system/PosixOutputCapture.cpp b/src/cpp/core/system/PosixOutputCapture.cpp
+index e531e00..01dedd3 100644
+--- a/src/cpp/core/system/PosixOutputCapture.cpp
++++ b/src/cpp/core/system/PosixOutputCapture.cpp
+@@ -28,6 +28,8 @@
+
+ #include <core/system/System.hpp>
+
++#include <boost/bind.hpp>
++
+ namespace rstudio {
+ namespace core {
+ namespace system {
+diff --git a/src/cpp/core/system/PosixSystem.cpp b/src/cpp/core/system/PosixSystem.cpp
+index c25cb32..8dae263 100644
+--- a/src/cpp/core/system/PosixSystem.cpp
++++ b/src/cpp/core/system/PosixSystem.cpp
+@@ -23,6 +23,7 @@
+
+ #include <boost/foreach.hpp>
+ #include <boost/algorithm/string.hpp>
++#include <boost/bind.hpp>
+
+ #include <signal.h>
+ #include <fcntl.h>
+--
+2.25.2
+