summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--development/rstudio-desktop/rstudio-desktop.SlackBuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/development/rstudio-desktop/rstudio-desktop.SlackBuild b/development/rstudio-desktop/rstudio-desktop.SlackBuild
index e1b350c939..96920b2710 100644
--- a/development/rstudio-desktop/rstudio-desktop.SlackBuild
+++ b/development/rstudio-desktop/rstudio-desktop.SlackBuild
@@ -77,6 +77,11 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+# Fix build with boost-1.58
+# http://stackoverflow.com/questions/25866378/cant-build-rstudio-ide-with-boost-1-56-0
+find . \( -name *.cpp -or -name *.hpp \) -exec \
+ sed -i -e 's@<core::@< ::core::@g' -e 's@\([^:]\)core::@\1::core::@g' {} \;
+
cd dependencies/common
unzip -qd dictionaries $CWD/core-dictionaries.zip
unzip -q $CWD/$MATHJAX.zip