aboutsummaryrefslogtreecommitdiff
path: root/games/gzdoom/gzdoom.SlackBuild
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/gzdoom.SlackBuild
parent5440280af7133d2633d031180b82fe95c70d3ae2 (diff)
games/gzdoom: Updated for version 4.3.3.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'games/gzdoom/gzdoom.SlackBuild')
-rw-r--r--games/gzdoom/gzdoom.SlackBuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/games/gzdoom/gzdoom.SlackBuild b/games/gzdoom/gzdoom.SlackBuild
index 808d3fea2371f..404ddb1a7deaa 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 \