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/database/sqlite3/sqlite_database.cc.orig 2026-06-25 08:00:54.461931648 +0000 +++ src/database/sqlite3/sqlite_database.cc @@@@ -179,7 +179,7 @@@@ void Sqlite3Database::run() // check for db-file if (!dbFile.isWritable()) - throw DatabaseException("", fmt::format("Error while accessing sqlite database file ({}): {}", dbFilePath.c_str(), std::strerror(errno))); + throw DatabaseException("", fmt::format("Error while accessing sqlite database file ({}): {}", dbFilePath.c_str(), strerror(errno))); taskQueueOpen = true; threadRunner = std::make_unique( @@@@ -188,7 +188,7 @@@@ void Sqlite3Database::run() inst->threadProc(); }, this); if (!threadRunner->isAlive()) { - throw DatabaseException("", fmt::format("Could not start sqlite thread: {}", std::strerror(errno))); + throw DatabaseException("", fmt::format("Could not start sqlite thread: {}", strerror(errno))); } // wait for sqlite3 thread to become ready @