summaryrefslogtreecommitdiffstats
path: root/libraries/spdlog/spdlog.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/spdlog/spdlog.SlackBuild')
-rw-r--r--libraries/spdlog/spdlog.SlackBuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/libraries/spdlog/spdlog.SlackBuild b/libraries/spdlog/spdlog.SlackBuild
index e1462798cf..5c90f65a12 100644
--- a/libraries/spdlog/spdlog.SlackBuild
+++ b/libraries/spdlog/spdlog.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for spdlog
# Copyright 2017 Andre Barboza, Belo Horizonte - Brazil
-# Copyright 2019 Hunter Sezen California, USA
+# Copyright 2019-2020 Hunter Sezen California, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=spdlog
-VERSION=${VERSION:-1.4.1}
+VERSION=${VERSION:-1.4.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -73,6 +73,11 @@ find -L . \
FMT=OFF
pkg-config --exists fmt && FMT=ON
+# Add missing <cassert> include.
+# https://github.com/gabime/spdlog/issues/1340
+# https://github.com/gabime/spdlog/commit/1aa9ea92e20142a1ce2f2e1ac40ed1fa781fac19
+patch -p1 < $CWD/cassert.patch
+
mkdir -p build
cd build
cmake \