Control: tags 1150270 + pending

Dear maintainer,

I've prepared an NMU for yuzu (versioned as 0-1734+ds-10.1) and
uploaded it to DELAYED/2. Please feel free to tell me if I
should cancel it.

Regards.

Aron
diffstat for yuzu-0-1734+ds yuzu-0-1734+ds

 changelog                                 |    9 
 patches/fmt-11.patch                      |  342 ++++++++++++++++++++++++++++++
 patches/initialize-dummy-flow-block.patch |   18 +
 patches/series                            |    2 
 4 files changed, 371 insertions(+)

diff -Nru yuzu-0-1734+ds/debian/changelog yuzu-0-1734+ds/debian/changelog
--- yuzu-0-1734+ds/debian/changelog	2026-09-29 22:21:38.000000000 +0800
+++ yuzu-0-1734+ds/debian/changelog	2026-10-15 23:46:15.000000000 +0800
@@ -1,3 +1,12 @@
+yuzu (0-1734+ds-10.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix build with fmtlib 11 by making custom formatters' format methods
+    const and including fmt/ranges.h for fmt::join (Closes: #1150270).
+  * Initialize the const dummy control-flow block to fix a GCC 16 build error.
+
+ -- Aron Xu <[email protected]>  Thu, 15 Oct 2026 23:46:15 +0800
+
 yuzu (0-1734+ds-10) unstable; urgency=low
 
   * d/rules: make tzdb2nx version reproducible.
diff -Nru yuzu-0-1734+ds/debian/patches/fmt-11.patch yuzu-0-1734+ds/debian/patches/fmt-11.patch
--- yuzu-0-1734+ds/debian/patches/fmt-11.patch	1970-01-01 07:30:00.000000000 +0730
+++ yuzu-0-1734+ds/debian/patches/fmt-11.patch	2026-10-13 15:00:45.000000000 +0800
@@ -0,0 +1,342 @@
+Description: Fix custom formatting with fmt 11
+ fmt 11 invokes custom formatters through a const reference, so their
+ format members must be const. Include fmt/ranges.h for fmt::join, which
+ is no longer provided by fmt/format.h.
+Bug-Debian: https://bugs.debian.org/1150270
+Forwarded: no
+Last-Update: 2026-10-13
+Author: Aron Xu <[email protected]>
+
+Index: yuzu-0-1734+ds/src/common/logging/formatter.h
+===================================================================
+--- yuzu-0-1734+ds.orig/src/common/logging/formatter.h
++++ yuzu-0-1734+ds/src/common/logging/formatter.h
+@@ -14,7 +14,7 @@ template <typename T>
+ struct fmt::formatter<T, std::enable_if_t<std::is_enum_v<T>, char>>
+     : formatter<std::underlying_type_t<T>> {
+     template <typename FormatContext>
+-    auto format(const T& value, FormatContext& ctx) -> decltype(ctx.out()) {
++    auto format(const T& value, FormatContext& ctx) const -> decltype(ctx.out()) {
+         return fmt::formatter<std::underlying_type_t<T>>::format(
+             static_cast<std::underlying_type_t<T>>(value), ctx);
+     }
+Index: yuzu-0-1734+ds/src/common/typed_address.h
+===================================================================
+--- yuzu-0-1734+ds.orig/src/common/typed_address.h
++++ yuzu-0-1734+ds/src/common/typed_address.h
+@@ -262,7 +262,7 @@ struct fmt::formatter<Common::PhysicalAd
+         return ctx.begin();
+     }
+     template <typename FormatContext>
+-    auto format(const Common::PhysicalAddress& addr, FormatContext& ctx) {
++    auto format(const Common::PhysicalAddress& addr, FormatContext& ctx) const {
+         return fmt::format_to(ctx.out(), "{:#x}", static_cast<u64>(addr.GetValue()));
+     }
+ };
+@@ -273,7 +273,7 @@ struct fmt::formatter<Common::ProcessAdd
+         return ctx.begin();
+     }
+     template <typename FormatContext>
+-    auto format(const Common::ProcessAddress& addr, FormatContext& ctx) {
++    auto format(const Common::ProcessAddress& addr, FormatContext& ctx) const {
+         return fmt::format_to(ctx.out(), "{:#x}", static_cast<u64>(addr.GetValue()));
+     }
+ };
+@@ -284,7 +284,7 @@ struct fmt::formatter<Common::VirtualAdd
+         return ctx.begin();
+     }
+     template <typename FormatContext>
+-    auto format(const Common::VirtualAddress& addr, FormatContext& ctx) {
++    auto format(const Common::VirtualAddress& addr, FormatContext& ctx) const {
+         return fmt::format_to(ctx.out(), "{:#x}", static_cast<u64>(addr.GetValue()));
+     }
+ };
+Index: yuzu-0-1734+ds/src/core/arm/dynarmic/dynarmic_cp15.cpp
+===================================================================
+--- yuzu-0-1734+ds.orig/src/core/arm/dynarmic/dynarmic_cp15.cpp
++++ yuzu-0-1734+ds/src/core/arm/dynarmic/dynarmic_cp15.cpp
+@@ -22,7 +22,7 @@ struct fmt::formatter<Dynarmic::A32::Cop
+         return ctx.begin();
+     }
+     template <typename FormatContext>
+-    auto format(const Dynarmic::A32::CoprocReg& reg, FormatContext& ctx) {
++    auto format(const Dynarmic::A32::CoprocReg& reg, FormatContext& ctx) const {
+         return fmt::format_to(ctx.out(), "cp{}", static_cast<size_t>(reg));
+     }
+ };
+Index: yuzu-0-1734+ds/src/core/hle/service/psc/time/common.h
+===================================================================
+--- yuzu-0-1734+ds.orig/src/core/hle/service/psc/time/common.h
++++ yuzu-0-1734+ds/src/core/hle/service/psc/time/common.h
+@@ -167,7 +167,7 @@ constexpr inline Result GetSpanBetweenTi
+ template <>
+ struct fmt::formatter<Service::PSC::Time::TimeType> : fmt::formatter<fmt::string_view> {
+     template <typename FormatContext>
+-    auto format(Service::PSC::Time::TimeType type, FormatContext& ctx) {
++    auto format(Service::PSC::Time::TimeType type, FormatContext& ctx) const {
+         const string_view name = [type] {
+             using Service::PSC::Time::TimeType;
+             switch (type) {
+Index: yuzu-0-1734+ds/src/shader_recompiler/backend/glasm/reg_alloc.h
+===================================================================
+--- yuzu-0-1734+ds.orig/src/shader_recompiler/backend/glasm/reg_alloc.h
++++ yuzu-0-1734+ds/src/shader_recompiler/backend/glasm/reg_alloc.h
+@@ -184,7 +184,7 @@ struct fmt::formatter<Shader::Backend::G
+         return ctx.begin();
+     }
+     template <typename FormatContext>
+-    auto format(Shader::Backend::GLASM::Id id, FormatContext& ctx) {
++    auto format(Shader::Backend::GLASM::Id id, FormatContext& ctx) const {
+         return Shader::Backend::GLASM::FormatTo<true>(ctx, id);
+     }
+ };
+@@ -195,7 +195,7 @@ struct fmt::formatter<Shader::Backend::G
+         return ctx.begin();
+     }
+     template <typename FormatContext>
+-    auto format(const Shader::Backend::GLASM::Register& value, FormatContext& ctx) {
++    auto format(const Shader::Backend::GLASM::Register& value, FormatContext& ctx) const {
+         if (value.type != Shader::Backend::GLASM::Type::Register) {
+             throw Shader::InvalidArgument("Register value type is not register");
+         }
+@@ -209,7 +209,7 @@ struct fmt::formatter<Shader::Backend::G
+         return ctx.begin();
+     }
+     templa

Reply via email to