[packages/rstudio] rediff patches

atler atler at pld-linux.org
Wed Aug 11 00:51:13 CEST 2021


commit 7dcfd9a39ec1da0bcd0619860c53504ccdd773dd
Author: Jan Palus <atler at pld-linux.org>
Date:   Wed Aug 11 00:50:57 2021 +0200

    rediff patches

 rstudio-boost.patch     | 4 ++--
 websocketpp-boost.patch | 8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/rstudio-boost.patch b/rstudio-boost.patch
index 60a2203..2875c81 100644
--- a/rstudio-boost.patch
+++ b/rstudio-boost.patch
@@ -754,8 +754,8 @@ index af79150..d049524 100644
  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
+ # test directory
+ set(TESTS_INCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/tests/cpp" CACHE STRING "Test includes")
 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
diff --git a/websocketpp-boost.patch b/websocketpp-boost.patch
index 3f318de..1016fe2 100644
--- a/websocketpp-boost.patch
+++ b/websocketpp-boost.patch
@@ -58,8 +58,8 @@ index 5c8293db..6c7d3524 100644
 -            lib::ref(*service));
 +        m_socket.reset(new boost::asio::ip::tcp::socket(*service));
  
-         if (m_socket_init_handler) {
-             m_socket_init_handler(m_hdl, *m_socket);
+         m_state = READY;
+ 
 diff --git a/websocketpp/transport/asio/security/tls.hpp b/websocketpp/transport/asio/security/tls.hpp
 index c76fd9aa..04ac3790 100644
 --- a/websocketpp/transport/asio/security/tls.hpp
@@ -72,5 +72,5 @@ index c76fd9aa..04ac3790 100644
 -            _WEBSOCKETPP_REF(*service),lib::ref(*m_context));
 +        m_socket.reset(new socket_type(*service, *m_context));
  
-         if (m_socket_init_handler) {
-             m_socket_init_handler(m_hdl, get_socket());
+         m_io_service = service;
+         m_strand = strand;
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rstudio.git/commitdiff/7dcfd9a39ec1da0bcd0619860c53504ccdd773dd



More information about the pld-cvs-commit mailing list