summaryrefslogtreecommitdiffstats
path: root/games/zod-engine/zod-engine.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/zod-engine/zod-engine.SlackBuild')
-rw-r--r--games/zod-engine/zod-engine.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/games/zod-engine/zod-engine.SlackBuild b/games/zod-engine/zod-engine.SlackBuild
index a69b2ccbea..a59c3ed47c 100644
--- a/games/zod-engine/zod-engine.SlackBuild
+++ b/games/zod-engine/zod-engine.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for zod-engine
-# Copyright 2014-2016 Dimitris Zlatanidis Orestiada, Greece
+# Copyright 2014-2023 Dimitris Zlatanidis Orestiada, Greece
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=zod-engine
VERSION=${VERSION:-2011.09.06}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -83,6 +83,9 @@ 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 {} \;
+# Patch to work on -current as well. Thanks to Nazim Joomun.
+sed -i 's/#include <dirent.h>/#include <dirent.h>\n#include <ctime>/' zod_src/common.cpp
+
make -C zod_src/
make -C zod_src/ map_editor
make -C zod_launcher_src/