summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-05-10 16:21:56 +0100
committerSam James <sam@gentoo.org>2023-05-10 16:21:56 +0100
commitf6ca1358c59588198f05aa99b61fdac26dfad42b (patch)
tree34cb05d31e4c554ce86470c812388d2415e38a8a /dev-libs/spdlog/files
parentdev-libs/spdlog: fix fails compile with libfmt-10.0.0 (diff)
downloadgentoo-f6ca1358c59588198f05aa99b61fdac26dfad42b.tar.gz
gentoo-f6ca1358c59588198f05aa99b61fdac26dfad42b.tar.bz2
gentoo-f6ca1358c59588198f05aa99b61fdac26dfad42b.zip
dev-libs/spdlog: add patch metadata
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/spdlog/files')
-rw-r--r--dev-libs/spdlog/files/spdlog-libfmt-10.0.0.patch14
1 files changed, 12 insertions, 2 deletions
diff --git a/dev-libs/spdlog/files/spdlog-libfmt-10.0.0.patch b/dev-libs/spdlog/files/spdlog-libfmt-10.0.0.patch
index 185fb12fb727..03ef4e591048 100644
--- a/dev-libs/spdlog/files/spdlog-libfmt-10.0.0.patch
+++ b/dev-libs/spdlog/files/spdlog-libfmt-10.0.0.patch
@@ -3,8 +3,18 @@ Upstream: https://github.com/gabime/spdlog/pull/2694
Fixing spdlog-1.11.0 fails compile with libfmt-10.0.0
-diff --git a/include/spdlog/common.h b/include/spdlog/common.h
-index e69201a81..5f671c5c6 100644
+https://github.com/gabime/spdlog/commit/0ca574ae168820da0268b3ec7607ca7b33024d05
+
+From 0ca574ae168820da0268b3ec7607ca7b33024d05 Mon Sep 17 00:00:00 2001
+From: H1X4 <10332146+H1X4Dev@users.noreply.github.com>
+Date: Fri, 31 Mar 2023 20:39:32 +0300
+Subject: [PATCH] fix build for master fmt (non-bundled) (#2694)
+
+* fix build for master fmt (non-bundled)
+
+* update fmt_runtime_string macro
+
+* fix build of updated macro
--- a/include/spdlog/common.h
+++ b/include/spdlog/common.h
@@ -173,12 +173,19 @@ using format_string_t = fmt::format_string<Args...>;