summaryrefslogtreecommitdiff
path: root/libraries/spdlog/spdlog.SlackBuild
diff options
context:
space:
mode:
authororbea <orbea@riseup.net>2020-01-04 07:25:23 -0800
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-01-12 08:47:55 +0700
commit17e40fb4e893d8d263cb081c01710881fbcdffd5 (patch)
tree3ae9249cc4c0bfd77c704f2efbce1247ee5535f7 /libraries/spdlog/spdlog.SlackBuild
parentc319eb83cd13ad2108cae8f2679c4225a4cc84af (diff)
downloadslackbuilds-17e40fb4e893d8d263cb081c01710881fbcdffd5.tar.gz
libraries/spdlog: Updated for version 1.4.2.
Signed-off-by: orbea <orbea@riseup.net>
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 \