diff options
| -rw-r--r-- | meta-multimedia/recipes-multimedia/gerbera/gerbera/0001-Fix-build-with-fmt-9.0.patch | 37 | ||||
| -rw-r--r-- | meta-multimedia/recipes-multimedia/gerbera/gerbera_1.12.1.bb (renamed from meta-multimedia/recipes-multimedia/gerbera/gerbera_1.11.0.bb) | 3 |
2 files changed, 1 insertions, 39 deletions
diff --git a/meta-multimedia/recipes-multimedia/gerbera/gerbera/0001-Fix-build-with-fmt-9.0.patch b/meta-multimedia/recipes-multimedia/gerbera/gerbera/0001-Fix-build-with-fmt-9.0.patch deleted file mode 100644 index bb8e438304..0000000000 --- a/meta-multimedia/recipes-multimedia/gerbera/gerbera/0001-Fix-build-with-fmt-9.0.patch +++ /dev/null | |||
| @@ -1,37 +0,0 @@ | |||
| 1 | From d7b8fafbc94405c20753fed569abd8878cccde89 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Felix Yan <felixonmars@archlinux.org> | ||
| 3 | Date: Fri, 19 Aug 2022 15:22:10 +0300 | ||
| 4 | Subject: [PATCH] Fix build with fmt 9.0 | ||
| 5 | |||
| 6 | Fixes #2681 | ||
| 7 | Upstream-Status: Pending | ||
| 8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 9 | --- | ||
| 10 | src/database/sql_format.h | 4 ++-- | ||
| 11 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
| 12 | |||
| 13 | diff --git a/src/database/sql_format.h b/src/database/sql_format.h | ||
| 14 | index 32dc00ef..e4e1909a 100644 | ||
| 15 | --- a/src/database/sql_format.h | ||
| 16 | +++ b/src/database/sql_format.h | ||
| 17 | @@ -42,7 +42,7 @@ struct SQLIdentifier { | ||
| 18 | template <> | ||
| 19 | struct fmt::formatter<SQLIdentifier> : formatter<std::string_view> { | ||
| 20 | template <typename FormatContext> | ||
| 21 | - auto format(const SQLIdentifier& tn, FormatContext& ctx) -> decltype(ctx.out()) | ||
| 22 | + auto format(const SQLIdentifier& tn, FormatContext& ctx) const -> decltype(ctx.out()) | ||
| 23 | { | ||
| 24 | return format_to(ctx.out(), "{}{}{}", tn.quote_begin, tn.name, tn.quote_end); | ||
| 25 | } | ||
| 26 | @@ -61,7 +61,7 @@ struct ColumnUpdate { | ||
| 27 | template <> | ||
| 28 | struct fmt::formatter<ColumnUpdate> : formatter<std::string_view> { | ||
| 29 | template <typename FormatContext> | ||
| 30 | - auto format(const ColumnUpdate& a, FormatContext& ctx) -> decltype(ctx.out()) | ||
| 31 | + auto format(const ColumnUpdate& a, FormatContext& ctx) const -> decltype(ctx.out()) | ||
| 32 | { | ||
| 33 | return format_to(ctx.out(), "{} = {}", a.column, a.value); | ||
| 34 | } | ||
| 35 | -- | ||
| 36 | 2.38.0.rc1.362.ged0d419d3c-goog | ||
| 37 | |||
diff --git a/meta-multimedia/recipes-multimedia/gerbera/gerbera_1.11.0.bb b/meta-multimedia/recipes-multimedia/gerbera/gerbera_1.12.1.bb index 2a6d328711..89cc51e0ea 100644 --- a/meta-multimedia/recipes-multimedia/gerbera/gerbera_1.11.0.bb +++ b/meta-multimedia/recipes-multimedia/gerbera/gerbera_1.12.1.bb | |||
| @@ -4,11 +4,10 @@ LICENSE = "GPL-2.0-only" | |||
| 4 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=25cdec9afe3f1f26212ead6bd2f7fac8" | 4 | LIC_FILES_CHKSUM = "file://LICENSE.md;md5=25cdec9afe3f1f26212ead6bd2f7fac8" |
| 5 | 5 | ||
| 6 | SRC_URI = "git://github.com/gerbera/gerbera.git;protocol=https;branch=master \ | 6 | SRC_URI = "git://github.com/gerbera/gerbera.git;protocol=https;branch=master \ |
| 7 | file://0001-Fix-build-with-fmt-9.0.patch \ | ||
| 8 | file://0001-Fix-build-against-fmt-10.patch \ | 7 | file://0001-Fix-build-against-fmt-10.patch \ |
| 9 | " | 8 | " |
| 10 | 9 | ||
| 11 | SRCREV = "d73d8c1346213d784753c02ea771970500e0df2a" | 10 | SRCREV = "559e1d1a92f5977ce8cff7393aa85330dbf2d1d6" |
| 12 | 11 | ||
| 13 | S = "${WORKDIR}/git" | 12 | S = "${WORKDIR}/git" |
| 14 | 13 | ||
