aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2023-12-30 21:21:55 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-01-06 08:08:40 +0700
commit8c4efe0a9d0935a9c63ba11dc00705ed71b441b7 (patch)
tree71f212ffdeb559de5239269c950ffeddc73fe5da /games
parent5f3bc0a19b0c00a8666d9ac998246abd5b434747 (diff)
games/zod-engine: Update script & email.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r--games/zod-engine/zod-engine.SlackBuild7
-rw-r--r--games/zod-engine/zod-engine.info2
2 files changed, 6 insertions, 3 deletions
diff --git a/games/zod-engine/zod-engine.SlackBuild b/games/zod-engine/zod-engine.SlackBuild
index a69b2ccbea686..a59c3ed47ca33 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/
diff --git a/games/zod-engine/zod-engine.info b/games/zod-engine/zod-engine.info
index de0ae06fb2f17..09b5f81c4c0ce 100644
--- a/games/zod-engine/zod-engine.info
+++ b/games/zod-engine/zod-engine.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="wxPython"
MAINTAINER="Dimitris Zlatanidis"
-EMAIL="d.zlatanidis@gmail.com"
+EMAIL="dslackw@gmail.com"