From 9507706136fde8c324d95d5c84c78bae1703bafc Mon Sep 17 00:00:00 2001 From: Downtown Allday Date: Fri, 3 Apr 2026 09:34:00 -0400 Subject: [PATCH] fix the following error: error: no member named 'format' in namespace 'fmt' the comment in fmt/core.h says including 'format' via core is deprectated: // Using fmt::format via fmt/core.h has been deprecated since version 11 // and now requires an explicit opt in. #ifdef FMT_DEPRECATED_HEAVY_CORE # include "format.h" #endif Upstream: https://github.com/gerbera/gerbera/commit/9507706136fde8c324d95d5c84c78bae1703bafc Signed-off-by: Bernd Kuhls --- src/database/search_handler.h | 2 +- src/exceptions.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/database/search_handler.h b/src/database/search_handler.h index ac5afb1b7..c1c99d00d 100644 --- a/src/database/search_handler.h +++ b/src/database/search_handler.h @@ -32,7 +32,7 @@ #include "util/tools.h" #include -#include +#include #include #include #include diff --git a/src/exceptions.h b/src/exceptions.h index 180e63ad4..e5ed74f3d 100644 --- a/src/exceptions.h +++ b/src/exceptions.h @@ -34,7 +34,7 @@ #ifndef __EXCEPTIONS_H__ #define __EXCEPTIONS_H__ -#include +#include #include #include