math/rstudio: fix build by providing a missing prototype.
backport of upstream commit 872e2806f74e922a25e0f9586faa6624883728ca breakage reported by aja.
This commit is contained in:
parent
adf09d3343
commit
bab6f4ab96
17
math/rstudio/patches/patch-src_cpp_r_session_RSession_cpp
Normal file
17
math/rstudio/patches/patch-src_cpp_r_session_RSession_cpp
Normal file
@ -0,0 +1,17 @@
|
||||
Backport https://github.com/rstudio/rstudio/commit/872e2806f74e922a25e0f9586faa6624883728ca
|
||||
to fix build with newer R.
|
||||
|
||||
Index: src/cpp/r/session/RSession.cpp
|
||||
--- src/cpp/r/session/RSession.cpp.orig
|
||||
+++ src/cpp/r/session/RSession.cpp
|
||||
@@ -67,6 +67,10 @@
|
||||
|
||||
#include <gsl/gsl>
|
||||
|
||||
+extern "C" {
|
||||
+int Rf_countContexts(int, int);
|
||||
+}
|
||||
+
|
||||
#define CTXT_BROWSER 16
|
||||
|
||||
// get rid of windows TRUE and FALSE definitions
|
Loading…
x
Reference in New Issue
Block a user