head 1.1; access; symbols; locks; strict; comment @// @; 1.1 date 2026.06.25.08.16.54; author wiz; state Exp; branches; next ; commitid BpEIr6md5BNQE9LG; desc @@ 1.1 log @gerbera: fix build Not sure where these std:: problems come from, the fmt changes are needed for fmtlib 12.2.0 @ text @$NetBSD$ Fix build. https://github.com/gerbera/gerbera/issues/3897 --- src/util/tools.cc.orig 2026-06-25 08:01:45.989715123 +0000 +++ src/util/tools.cc @@@@ -270,8 +270,8 @@@@ std::string hexDecodeString(std::string_view encoded) auto buf = std::string(len / 2, '\0'); for (std::size_t i = 0; i < len; i += 2) { - auto chi = std::strchr(hexChars, ptr[i]); - auto clo = std::strchr(hexChars, ptr[i + 1]); + auto chi = strchr(hexChars, ptr[i]); + auto clo = strchr(hexChars, ptr[i + 1]); std::size_t hi = chi ? chi - hexChars : 0; std::size_t lo = clo ? clo - hexChars : 0; @