FreeBSD Bugzilla – Attachment 226035 Details for
Bug 256810
devel/spdlog: Compatibility fixes withy libfmt 8.0.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for spdlog
spdlog185-fmtfix.patch (text/plain), 2.33 KB, created by
Daniel Engberg
on 2021-06-24 14:33:12 UTC
(
hide
)
Description:
Patch for spdlog
Filename:
MIME Type:
Creator:
Daniel Engberg
Created:
2021-06-24 14:33:12 UTC
Size:
2.33 KB
patch
obsolete
>diff --git a/devel/spdlog/Makefile b/devel/spdlog/Makefile >index 91b5ca949eda..3383bf68a0e8 100644 >--- a/devel/spdlog/Makefile >+++ b/devel/spdlog/Makefile >@@ -3,9 +3,12 @@ > PORTNAME= spdlog > DISTVERSIONPREFIX= v > DISTVERSION= 1.8.5 >-PORTREVISION= 0 >+PORTREVISION= 1 > CATEGORIES= devel > >+PATCH_SITES= https://github.com/gabime/spdlog/commit/ >+PATCHFILES= 7b14a65b2b8cbdca3c6bd1d36fe5b271389c1d07.patch:-p1 >+ > MAINTAINER= vanilla@FreeBSD.org > COMMENT= Super fast C++ logging library > >diff --git a/devel/spdlog/distinfo b/devel/spdlog/distinfo >index bf3b9ebcf118..a21de7a0a75a 100644 >--- a/devel/spdlog/distinfo >+++ b/devel/spdlog/distinfo >@@ -1,3 +1,5 @@ >-TIMESTAMP = 1616997697 >+TIMESTAMP = 1624544325 > SHA256 (gabime-spdlog-v1.8.5_GH0.tar.gz) = 944d0bd7c763ac721398dca2bb0f3b5ed16f67cef36810ede5061f35a543b4b8 > SIZE (gabime-spdlog-v1.8.5_GH0.tar.gz) = 321229 >+SHA256 (7b14a65b2b8cbdca3c6bd1d36fe5b271389c1d07.patch) = 5efa9e3b8d4dc4de351dc0e1d2516b2a6e141854e055ae420446785df85d9574 >+SIZE (7b14a65b2b8cbdca3c6bd1d36fe5b271389c1d07.patch) = 6523 >diff --git a/devel/spdlog/files/patch-include_spdlog_common-inl.h b/devel/spdlog/files/patch-include_spdlog_common-inl.h >new file mode 100644 >index 000000000000..0a219ab8ea41 >--- /dev/null >+++ b/devel/spdlog/files/patch-include_spdlog_common-inl.h >@@ -0,0 +1,11 @@ >+--- include/spdlog/common-inl.h.orig 2021-06-24 13:59:17 UTC >++++ include/spdlog/common-inl.h >+@@ -60,7 +60,7 @@ SPDLOG_INLINE spdlog_ex::spdlog_ex(std::string msg) >+ SPDLOG_INLINE spdlog_ex::spdlog_ex(const std::string &msg, int last_errno) >+ { >+ memory_buf_t outbuf; >+- fmt::format_system_error(outbuf, last_errno, msg); >++ fmt::format_system_error(outbuf, last_errno, msg.c_str()); >+ msg_ = fmt::to_string(outbuf); >+ } >+ >diff --git a/devel/spdlog/files/patch-include_spdlog_fmt_bin__to__hex.h b/devel/spdlog/files/patch-include_spdlog_fmt_bin__to__hex.h >new file mode 100644 >index 000000000000..26f9761a4058 >--- /dev/null >+++ b/devel/spdlog/files/patch-include_spdlog_fmt_bin__to__hex.h >@@ -0,0 +1,11 @@ >+--- include/spdlog/fmt/bin_to_hex.h.orig 2021-06-24 14:01:22 UTC >++++ include/spdlog/fmt/bin_to_hex.h >+@@ -209,7 +209,7 @@ struct formatter<spdlog::details::dump_info<T>> >+ >+ if (put_positions) >+ { >+- fmt::format_to(inserter, "{:<04X}: ", pos); >++ fmt::format_to(inserter, "{:04X}: ", pos); >+ } >+ } >+ };
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 256810
:
226035
|
226045