devel/RStudio: Unbreak the build after math/R upgrade to 4.0.0
Backport the patch. PR: 246310 Reported by: fallout, Robert Cina <transitive@gmail.com>
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
PORTNAME= RStudio
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 1.2.5042
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= devel math java
|
||||
MASTER_SITES= https://s3.amazonaws.com/rstudio-buildtools/dictionaries/:dictionaries \
|
||||
https://s3.amazonaws.com/rstudio-buildtools/:buildtools
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
TIMESTAMP = 1587507394
|
||||
TIMESTAMP = 1588990554
|
||||
SHA256 (core-dictionaries.zip) = 4341a9630efb9dcf7f215c324136407f3b3d6003e1c96f2e5e1f9f14d5787494
|
||||
SIZE (core-dictionaries.zip) = 876339
|
||||
SHA256 (gin-2.1.2.zip) = b98e704164f54be596779696a3fcd11be5785c9907a99ec535ff6e9525ad5f9a
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
part of https://github.com/rstudio/rstudio/pull/6017 to fix the R-4.0.0 compatibility
|
||||
|
||||
--- src/cpp/r/session/REmbeddedPosix.cpp.orig 2020-04-01 16:16:24 UTC
|
||||
+++ src/cpp/r/session/REmbeddedPosix.cpp
|
||||
@@ -103,14 +105,14 @@ void runEmbeddedR(const core::FilePath& /*rHome*/,
|
||||
//
|
||||
structRstart rp;
|
||||
Rstart Rp = &rp;
|
||||
- R_DefParams(Rp) ;
|
||||
- Rp->R_Slave = FALSE ;
|
||||
+ R_DefParams(Rp);
|
||||
+ Rp->R_NoEcho = FALSE;
|
||||
Rp->R_Quiet = quiet ? TRUE : FALSE;
|
||||
- Rp->R_Interactive = TRUE ;
|
||||
- Rp->SaveAction = defaultSaveAction ;
|
||||
+ Rp->R_Interactive = TRUE;
|
||||
+ Rp->SaveAction = defaultSaveAction;
|
||||
Rp->RestoreAction = SA_NORESTORE; // handled within initialize()
|
||||
Rp->LoadInitFile = loadInitFile ? TRUE : FALSE;
|
||||
- R_SetParams(Rp) ;
|
||||
+ R_SetParams(Rp);
|
||||
|
||||
// redirect console
|
||||
R_Interactive = TRUE; // should have also been set by call to Rf_initialize_R
|
||||
Reference in New Issue
Block a user