]> git.pld-linux.org Git - packages/rstudio.git/blame - gcc11.patch
fix build with gcc 11
[packages/rstudio.git] / gcc11.patch
CommitLineData
8cd69309
JP
1--- rstudio-1.1.143/src/cpp/core/RegexUtils.cpp.orig 2017-04-12 00:42:14.000000000 +0200
2+++ rstudio-1.1.143/src/cpp/core/RegexUtils.cpp 2021-08-11 09:33:16.605646831 +0200
3@@ -15,6 +15,7 @@
4
5 #include <core/RegexUtils.hpp>
6
7+#include <sstream>
8 #include <vector>
9
10 #include <boost/regex.hpp>
11--- rstudio-1.1.143/CMakeCompiler.txt.orig 2017-04-12 00:42:14.000000000 +0200
12+++ rstudio-1.1.143/CMakeCompiler.txt 2021-08-11 09:45:50.402450033 +0200
13@@ -26,6 +26,8 @@
14
15 endif()
16
17+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x")
18+
19 # use Rtools on Windows (mainly for Qt Creator)
20 if(WIN32 AND NOT DEFINED RSTUDIO_PACKAGE_BUILD)
21 set(RTOOLS_PATH "${CMAKE_CURRENT_SOURCE_DIR}/../../dependencies/windows/Rtools33")
This page took 0.032359 seconds and 4 git commands to generate.