summaryrefslogtreecommitdiffstats
path: root/games/stratagus
diff options
context:
space:
mode:
Diffstat (limited to 'games/stratagus')
-rw-r--r--games/stratagus/README13
-rw-r--r--games/stratagus/stratagus.SlackBuild8
-rw-r--r--games/stratagus/stratagus.info2
3 files changed, 12 insertions, 11 deletions
diff --git a/games/stratagus/README b/games/stratagus/README
index cac5260373..f87254c060 100644
--- a/games/stratagus/README
+++ b/games/stratagus/README
@@ -1,12 +1,13 @@
stratagus (RTS game engine)
Stratagus Core is a free cross-platform real-time strategy gaming
-engine. It includes support for playing over the internet/LAN, or playing
-a computer opponent. The engine is configurable and can be used to create
-games with a wide range of features specific to your needs.
+engine. It includes support for playing over the internet/LAN, or
+playing a computer opponent. The engine is configurable and can be
+used to create games with a wide range of features specific to your
+needs.
-If you're installing stratagus as a dependency for wargus, make sure the
-stratagus and wargus version numbers match. This shouldn't be a problem
-(both will be updated at SBo at the same time, when needed).
+If you're installing stratagus as a dependency for wargus, make sure
+the stratagus and wargus version numbers match. This shouldn't be a
+problem (both will be updated at SBo at the same time, when needed).
Stratagus was formerly known as FreeCraft and ALE Clone.
diff --git a/games/stratagus/stratagus.SlackBuild b/games/stratagus/stratagus.SlackBuild
index d7aaac7302..99b74a19c2 100644
--- a/games/stratagus/stratagus.SlackBuild
+++ b/games/stratagus/stratagus.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for stratagus
-# Written by B. Watson (yalhcru@gmail.com)
+# Written by B. Watson (urchlay@slackware.uk)
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
@@ -43,9 +43,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -85,6 +82,9 @@ find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
# share/doc/$PRGNAM, so:
sed -i "s,share/doc/$PRGNAM,doc/$PRGNAM-$VERSION," CMakeLists.txt
+# 20211119 bkw: fix compile with -current's gcc.
+sed -i 's,"_C_," _C_,' src/ai/ai_plan.cpp src/stratagus/script.cpp
+
mkdir -p build
cd build
cmake \
diff --git a/games/stratagus/stratagus.info b/games/stratagus/stratagus.info
index 217fc84527..d5cfe03044 100644
--- a/games/stratagus/stratagus.info
+++ b/games/stratagus/stratagus.info
@@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="tolua++ libmikmod"
MAINTAINER="B. Watson"
-EMAIL="yalhcru@gmail.com"
+EMAIL="urchlay@slackware.uk"