aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-mathematics/rstudio/files/rstudio-0.96.316-prefs.patch')
-rw-r--r--sci-mathematics/rstudio/files/rstudio-0.96.316-prefs.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/sci-mathematics/rstudio/files/rstudio-0.96.316-prefs.patch b/sci-mathematics/rstudio/files/rstudio-0.96.316-prefs.patch
new file mode 100644
index 000000000..0d5401cf0
--- /dev/null
+++ b/sci-mathematics/rstudio/files/rstudio-0.96.316-prefs.patch
@@ -0,0 +1,20 @@
+diff --git a/src/gwt/build.xml b/src/gwt/build.xml
+index 6581bd9..36eadc1 100644
+--- a/src/gwt/build.xml
++++ b/src/gwt/build.xml
+@@ -26,6 +26,7 @@
+ <property name="gwt.main.module" value="org.rstudio.studio.RStudio"/>
+ <property name="ace.bin" value="src/org/rstudio/studio/client/workbench/views/source/editors/text/ace"/>
+ <property name="json2.bin" value="www/js"/>
++ <property environment="env"/>
+
+ <path id="project.class.path">
+ <pathelement location="bin"/>
+@@ -102,6 +103,7 @@
+ </classpath>
+ <!-- add jvmarg -Xss16M or similar if you see a StackOverflowError -->
+ <jvmarg value="-Xmx1024M"/>
++ <jvmarg value="-Djava.util.prefs.userRoot=${env.T}"/>
+ <arg value="-war"/>
+ <arg value="www"/>
+ <arg value="-localWorkers"/>