head 1.1; access; symbols; locks; strict; comment @// @; 1.1 date 2026.06.25.08.16.53; 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/metadata/metacontent_handler.cc.orig 2026-06-25 08:00:09.711859564 +0000 +++ src/metadata/metacontent_handler.cc @@@@ -316,7 +316,7 @@@@ std::unique_ptr FanArtHandler::serveContent struct stat statbuf; int ret = stat(path.c_str(), &statbuf); if (ret != 0) { - log_warning("File does not exist: {} ({})", path.c_str(), std::strerror(errno)); + log_warning("File does not exist: {} ({})", path.c_str(), strerror(errno)); return nullptr; } return std::make_unique(path); @@@@ -381,7 +381,7 @@@@ std::unique_ptr ContainerArtHandler::serveC struct stat statbuf; int ret = stat(path.c_str(), &statbuf); if (ret != 0) { - log_warning("File does not exist: {} ({})", path.c_str(), std::strerror(errno)); + log_warning("File does not exist: {} ({})", path.c_str(), strerror(errno)); return nullptr; } return std::make_unique(path); @@@@ -465,7 +465,7 @@@@ std::unique_ptr SubtitleHandler::serveConte struct stat statbuf; int ret = stat(path.c_str(), &statbuf); if (ret != 0) { - log_warning("File does not exist: {} ({})", path.c_str(), std::strerror(errno)); + log_warning("File does not exist: {} ({})", path.c_str(), strerror(errno)); return nullptr; } return std::make_unique(path); @@@@ -556,7 +556,7 @@@@ std::unique_ptr ResourceHandler::serveConte struct stat statbuf; int ret = stat(path.c_str(), &statbuf); if (ret != 0) { - log_warning("File does not exist: {} ({})", path.string(), std::strerror(errno)); + log_warning("File does not exist: {} ({})", path.string(), strerror(errno)); return nullptr; } return std::make_unique(path); @