summaryrefslogtreecommitdiff
path: root/games/gzdoom
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2020-03-02 12:04:57 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-03-07 14:06:33 +0700
commit1099d5ef8636463dbdc2b64ed3ca6a098a2264f8 (patch)
tree4125388fbd51f1c689bfb9ccaa23e416ca2de594 /games/gzdoom
parent5440280af7133d2633d031180b82fe95c70d3ae2 (diff)
downloadslackbuilds-1099d5ef8636463dbdc2b64ed3ca6a098a2264f8.tar.gz
games/gzdoom: Updated for version 4.3.3.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'games/gzdoom')
-rw-r--r--games/gzdoom/gzdoom.SlackBuild8
-rw-r--r--games/gzdoom/gzdoom.info6
2 files changed, 10 insertions, 4 deletions
diff --git a/games/gzdoom/gzdoom.SlackBuild b/games/gzdoom/gzdoom.SlackBuild
index 808d3fea23..404ddb1a7d 100644
--- a/games/gzdoom/gzdoom.SlackBuild
+++ b/games/gzdoom/gzdoom.SlackBuild
@@ -6,6 +6,7 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20200302 bkw: Updated for 4.3.3.
# 20191201 bkw: Updated for 4.2.4.
# 20181022 bkw: Updated for 3.6.0.
# 20180827 bkw: Updated for 3.5.1.
@@ -26,7 +27,7 @@
# supported as "gzdoom-legacy" for those that need them.
PRGNAM=gzdoom
-VERSION=${VERSION:-4.2.4}
+VERSION=${VERSION:-4.3.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -88,6 +89,11 @@ sed -i "/#define *VERSIONSTR/s,GIT_DESCRIPTION,\"$VERSION\"," src/version.h
# enough to be worth using (saves 17+ sec on my test box).
SLKCFLAGS="$SLKCFLAGS -DNDEBUG -fuse-ld=gold"
+# 20200302 bkw: gcc 5.5 needs this, not sure it's required by the C++ spec
+sed -i '1i#include <cmath>' \
+ src/rendering/swrenderer/drawers/r_draw.cpp \
+ src/rendering/swrenderer/viewport/r_spritedrawer.cpp
+
mkdir -p build
cd build
cmake \
diff --git a/games/gzdoom/gzdoom.info b/games/gzdoom/gzdoom.info
index 4a58a7644a..dd9bf6d272 100644
--- a/games/gzdoom/gzdoom.info
+++ b/games/gzdoom/gzdoom.info
@@ -1,8 +1,8 @@
PRGNAM="gzdoom"
-VERSION="4.2.4"
+VERSION="4.3.3"
HOMEPAGE="http://gzdoom.drdteam.org/"
-DOWNLOAD="https://github.com/coelckers/gzdoom/archive/g4.2.4/gzdoom-g4.2.4.tar.gz"
-MD5SUM="d69673ebf158e97284c04d68c6f5a395"
+DOWNLOAD="https://github.com/coelckers/gzdoom/archive/g4.3.3/gzdoom-g4.3.3.tar.gz"
+MD5SUM="96454a55f7ac9fb5a0072e4802728d1e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="SDL2 OpenAL"