diff options
author | orbea <orbea@riseup.net> | 2020-01-04 07:25:23 -0800 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-01-12 08:47:55 +0700 |
commit | 17e40fb4e893d8d263cb081c01710881fbcdffd5 (patch) | |
tree | 3ae9249cc4c0bfd77c704f2efbce1247ee5535f7 /libraries | |
parent | c319eb83cd13ad2108cae8f2679c4225a4cc84af (diff) |
libraries/spdlog: Updated for version 1.4.2.
Signed-off-by: orbea <orbea@riseup.net>
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/spdlog/cassert.patch | 21 | ||||
-rw-r--r-- | libraries/spdlog/spdlog.SlackBuild | 9 | ||||
-rw-r--r-- | libraries/spdlog/spdlog.info | 6 |
3 files changed, 31 insertions, 5 deletions
diff --git a/libraries/spdlog/cassert.patch b/libraries/spdlog/cassert.patch new file mode 100644 index 000000000000..4254f97334c6 --- /dev/null +++ b/libraries/spdlog/cassert.patch @@ -0,0 +1,21 @@ +From 1aa9ea92e20142a1ce2f2e1ac40ed1fa781fac19 Mon Sep 17 00:00:00 2001 +From: gabime <gmelman1@gmail.com> +Date: Tue, 3 Dec 2019 00:35:28 +0200 +Subject: [PATCH] Fix #1340 + +--- + include/spdlog/details/circular_q.h | 1 + + 1 files changed, 1 insertions(+) + +diff --git a/include/spdlog/details/circular_q.h b/include/spdlog/details/circular_q.h +index 325dbfea..1f2712e7 100644 +--- a/include/spdlog/details/circular_q.h ++++ b/include/spdlog/details/circular_q.h +@@ -5,6 +5,7 @@ + #pragma once + + #include <vector> ++#include <cassert> + + namespace spdlog { + namespace details { diff --git a/libraries/spdlog/spdlog.SlackBuild b/libraries/spdlog/spdlog.SlackBuild index e1462798cf46..5c90f65a12a0 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 \ diff --git a/libraries/spdlog/spdlog.info b/libraries/spdlog/spdlog.info index 8f81ff63e391..9a94f7d82fad 100644 --- a/libraries/spdlog/spdlog.info +++ b/libraries/spdlog/spdlog.info @@ -1,8 +1,8 @@ PRGNAM="spdlog" -VERSION="1.4.1" +VERSION="1.4.2" HOMEPAGE="https://github.com/gabime/spdlog" -DOWNLOAD="https://github.com/gabime/spdlog/archive/v1.4.1/spdlog-1.4.1.tar.gz" -MD5SUM="0665423466670146551d4fe752da315d" +DOWNLOAD="https://github.com/gabime/spdlog/archive/v1.4.2/spdlog-1.4.2.tar.gz" +MD5SUM="373bbb7ea7557cbe6726705463bcae16" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |