HomeFreeBSD

devel/spdlog: fix botched gmt offset calculation

Description

devel/spdlog: fix botched gmt offset calculation

The upstream code has like a handful of bugs in the place that should
obtain the GMT offset for a struct tm, and os-inl.h is a botch.

Strip the bogus workaround code and use tm.tm_gmtoff.

Reported by: diizzy@
URL: https://github.com/gabime/spdlog/issues/3483
Approved by: portmgr@ (just-fix-it blanket)

(based on commit 9f6a8a34ed864c5a40d987d6d102898ee124a821)

Details

Provenance
mandreeAuthored on Nov 2 2025, 2:08 AM
Parents
R11:7cc9f759e1e4: security/openvpn-devel: upgrade port to git commit 4281449ba4 (2.7_rc1, 2025-10…
Branches
Unknown
Tags
Unknown