summaryrefslogtreecommitdiff
path: root/games/vcmi
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2015-05-29 11:02:07 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commit4582e825b1ed28d6ae527706d86474bcbb965768 (patch)
tree38e0df0deafac9a0e21373234ff8ef8bc8c27eea /games/vcmi
parent28c809e48f5fb9b30010e246c3d6d6a95615b6fc (diff)
downloadslackbuilds-4582e825b1ed28d6ae527706d86474bcbb965768.tar.gz
games/vcmi: Patched to fix build on -current.
Signed-off-by: David Spencer <baildon.research@googlemail.com>
Diffstat (limited to 'games/vcmi')
-rw-r--r--games/vcmi/github-aa00fdbd0e9.patch.gzbin0 -> 901 bytes
-rw-r--r--games/vcmi/vcmi.SlackBuild4
2 files changed, 4 insertions, 0 deletions
diff --git a/games/vcmi/github-aa00fdbd0e9.patch.gz b/games/vcmi/github-aa00fdbd0e9.patch.gz
new file mode 100644
index 0000000000..64fbf948cb
--- /dev/null
+++ b/games/vcmi/github-aa00fdbd0e9.patch.gz
Binary files differ
diff --git a/games/vcmi/vcmi.SlackBuild b/games/vcmi/vcmi.SlackBuild
index ff62cd752d..7cdb64a17a 100644
--- a/games/vcmi/vcmi.SlackBuild
+++ b/games/vcmi/vcmi.SlackBuild
@@ -70,6 +70,10 @@ 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 building with boost-1.58
+# Thanks to rohit-n on github https://github.com/vcmi/vcmi/pull/102
+zcat $CWD/github-aa00fdbd0e9.patch.gz | patch -p1
+
mkdir -p build
cd build
cmake \