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>
This commit is contained in:
David Spencer 2015-08-27 23:33:39 +01:00 committed by Willy Sudiarto Raharjo
parent 14e1d882ad
commit cd3c23605e

View file

@ -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