summaryrefslogtreecommitdiff
path: root/development/rstudio-desktop/rstudio-desktop.SlackBuild
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2015-08-27 23:33:39 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commitcd3c23605e106547476c9c06bff8c184ce326ff9 (patch)
tree993441f87bc38c4e6cb499fc8039624ed068a840 /development/rstudio-desktop/rstudio-desktop.SlackBuild
parent14e1d882ad988bb2933a304e93a6d28a10032a7f (diff)
downloadslackbuilds-cd3c23605e106547476c9c06bff8c184ce326ff9.tar.gz
development/rstudio-desktop: Patched SlackBuild.
Fixes build failure with boost-1.58 on -current. Signed-off-by: David Spencer <baildon.research@googlemail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/rstudio-desktop/rstudio-desktop.SlackBuild')
-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