rstudio: add patch for Boost 1.86 (#370391)

authored by Theodore Ni and committed by GitHub 8b38173d 42679b9d

+16 -2
+13
pkgs/applications/editors/rstudio/boost-1.86.patch
···
··· 1 + diff --git a/src/cpp/core/json/JsonRpc.cpp b/src/cpp/core/json/JsonRpc.cpp 2 + index d034ffecd7..4b08486517 100644 3 + --- a/src/cpp/core/json/JsonRpc.cpp 4 + +++ b/src/cpp/core/json/JsonRpc.cpp 5 + @@ -193,7 +193,7 @@ 6 + 7 + bool JsonRpcResponse::hasAfterResponse() const 8 + { 9 + - return afterResponse_; 10 + + return !afterResponse_.empty(); 11 + } 12 + 13 +
+3 -2
pkgs/applications/editors/rstudio/default.nix
··· 5 fetchFromGitHub, 6 replaceVars, 7 cmake, 8 - boost183, 9 zlib, 10 openssl, 11 R, ··· 85 86 buildInputs = 87 [ 88 - boost183 89 zlib 90 openssl 91 R ··· 131 ./ignore-etc-os-release.patch 132 ./dont-yarn-install.patch 133 ./dont-assume-pandoc-in-quarto.patch 134 ]; 135 136 postPatch = ''
··· 5 fetchFromGitHub, 6 replaceVars, 7 cmake, 8 + boost, 9 zlib, 10 openssl, 11 R, ··· 85 86 buildInputs = 87 [ 88 + boost 89 zlib 90 openssl 91 R ··· 131 ./ignore-etc-os-release.patch 132 ./dont-yarn-install.patch 133 ./dont-assume-pandoc-in-quarto.patch 134 + ./boost-1.86.patch 135 ]; 136 137 postPatch = ''