diff options
| author | Lexi Winter <ivy@FreeBSD.org> | 2025-12-01 03:19:41 +0000 |
|---|---|---|
| committer | Lexi Winter <ivy@FreeBSD.org> | 2025-12-01 03:19:41 +0000 |
| commit | 2e80774d0b20d167bc0a9e2b63dafbfb171c0d22 (patch) | |
| tree | 25f0138e1af8902b92dacc8cce09b267447c17db /net-p2p/transmission-components/files/patch-utils_remote.cc | |
| parent | f85f2b2d6e5b7ed869376eb4b180c3a74a5c5da9 (diff) | |
| parent | 1a30da80670973368b399f2b01fe9c04b91a1273 (diff) | |
Merge remote-tracking branch 'freebsd/main' into lf/mainlf/main
Diffstat (limited to 'net-p2p/transmission-components/files/patch-utils_remote.cc')
| -rw-r--r-- | net-p2p/transmission-components/files/patch-utils_remote.cc | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/net-p2p/transmission-components/files/patch-utils_remote.cc b/net-p2p/transmission-components/files/patch-utils_remote.cc new file mode 100644 index 000000000000..77f47c740d09 --- /dev/null +++ b/net-p2p/transmission-components/files/patch-utils_remote.cc @@ -0,0 +1,19 @@ +--- utils/remote.cc.orig 2025-10-15 08:53:57 UTC ++++ utils/remote.cc +@@ -8,6 +8,7 @@ + #include <cctype> /* isspace */ + #include <cinttypes> // PRId64 + #include <cerrno> ++#include <chrono> + #include <cmath> + #include <cstdio> + #include <cstdlib> +@@ -900,7 +901,7 @@ static char* format_date(char* buf, size_t buflen, tim + + static char* format_date(char* buf, size_t buflen, time_t now) + { +- *fmt::format_to_n(buf, buflen - 1, "{:%a %b %d %T %Y}", fmt::localtime(now)).out = '\0'; ++ *fmt::format_to_n(buf, buflen - 1, "{:%a %b %d %T %Y}", *std::localtime(&now)).out = '\0'; + return buf; + } + |
