summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 \