head 1.1; access; symbols; locks; strict; comment @ * @; 1.1 date 2026.11.09.17.39.42; author tsutsui; state Exp; branches; next ; commitid fYidQvWe2qpRmO2H; desc @@ 1.1 log @fmtlib: pull an upstream change to fix 32 bit builds @ text @$NetBSD$ - pull upstream fix for uint128_t bitwise not https://github.com/fmtlib/fmt/pull/4813 https://github.com/fmtlib/fmt/commit/588b3a0f8f6a8bcf2a959cae882d5b2703e86737 --- include/fmt/format.h.orig 2026-11-08 16:03:05.306707509 +0000 +++ include/fmt/format.h @@@@ -327,6 +327,9 @@@@ class uint128 { -> uint128 { return {lhs.hi_ & rhs.hi_, lhs.lo_ & rhs.lo_}; } + friend constexpr auto operator~(const uint128& n) -> uint128 { + return {~n.hi_, ~n.lo_}; + } friend FMT_CONSTEXPR auto operator+(const uint128& lhs, const uint128& rhs) -> uint128 { auto result = uint128(lhs); @