Article View: linux.debian.bugs.dist
Article #978Bug#1150270: yuzu: diff for NMU version 0-1734+ds-10.1
From: Aron Xu
Date: Thu, 15 Oct 2026 16:30
Date: Thu, 15 Oct 2026 16:30
191 lines
9938 bytes
9938 bytes
--+QXXkw9Eo9TXR25H
Content-Type: multipart/mixed; boundary="LJE2A0yPRkOGIwA4"
Content-Disposition: inline
--LJE2A0yPRkOGIwA4
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
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
--LJE2A0yPRkOGIwA4
Content-Type: text/x-diff; charset=utf-8
Content-Disposition: attachment; filename="yuzu-0-1734+ds-10.1-nmu.diff"
Content-Transfer-Encoding: quoted-printable
diffstat for yuzu-0-1734+ds yuzu-0-1734+ds
changelog | 9=20
patches/fmt-11.patch | 342 +++++++++++++++++++++++++=
+++++
patches/initialize-dummy-flow-block.patch | 18 +
patches/series | 2=20
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=3Dmedium
+
+ * 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 er=
ror.
+
+ -- Aron Xu <aron@debian.org> Thu, 15 Oct 2026 23:46:15 +0800
+
yuzu (0-1734+ds-10) unstable; urgency=3Dlow
=20
* 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.00000000=
0 +0730
+++ yuzu-0-1734+ds/debian/patches/fmt-11.patch 2026-10-13 15:00:45.00000000=
0 +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 <aron@debian.org>
+
+Index: yuzu-0-1734+ds/src/common/logging/formatter.h
+=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
+--- 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=
=2Eout()) {
+ 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
+=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
+--- 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.G=
etValue()));
+ }
+ };
+@@ -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) c=
onst {
+ return fmt::format_to(ctx.out(), "{:#x}", static_cast<u64>(addr.G=
etValue()));
+ }
+ };
+@@ -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) c=
onst {
+ return fmt::format_to(ctx.out(), "{:#x}", static_cast<u64>(addr.G=
etValue()));
+ }
+ };
+Index: yuzu-0-1734+ds/src/core/arm/dynarmic/dynarmic_cp15.cpp
+=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
+--- 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
+=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
+--- 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) co=
nst {
+ const string_view name =3D [type] {
+ using Service::PSC::Time::TimeType;
+ switch (type) {
+Index: yuzu-0-1734+ds/src/shader_recompiler/backend/glasm/reg_alloc.h
+=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
+--- 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, FormatCont=
ext& ctx) {
++ auto format(const Shader::Backend::GLASM::Register& value, FormatCont=
ext& ctx) const {
+ if (value.type !=3D Shader::Backend::GLASM::Type::Register) {
+ throw Shader::InvalidArgument("Register value type is not reg=
ister");
+ }
+@@ -209,7 +209,7 @@ struct fmt::formatter<Shader::Backend::G
+ return ctx.begin();
+ }
+ templa
Technical Details
Message-ID:
<NOwv7-5JmB-3@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!news.servidellagleba.it!bofh.it!news.nic.it!robomodReferences:
<NLG7D-48Bh-7@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!news.servidellagleba.it!bofh.it!news.nic.it!robomod From: Aron Xu <aron@debian.org> Newsgroups: linux.debian.bugs.dist Subject: Bug#1150270: yuzu: diff for NMU version 0-1734+ds-10.1 Date: Thu, 15 Oct 2026 18:30:02 +0200 Message-ID: <NOwv7-5JmB-3@gated-at.bofh.it> References: <NLG7D-48Bh-7@gated-at.bofh.it> X-Original-To: 1150270@bugs.debian.org X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Thu Oct 15 16:27:12 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Quarantine-ID: <avch5z8vfWvl> X-Amavis-Alert: BAD HEADER SECTION, MIME error: error: part did not end with expected boundary; ; error: unexpected end of parts before epilogue; ; error: unexpected end of parts before epilogue X-Spam-Flag: NO X-Spam-Score: -1.7 Reply-To: Aron Xu <aron@debian.org>, 1150270@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: tachi@debian.org X-Debian-Pr-Message: followup 1150270 X-Debian-Pr-Package: src:yuzu X-Debian-Pr-Keywords: ftbfs patch X-Debian-Pr-Source: yuzu MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="+QXXkw9Eo9TXR25H" Content-Disposition: inline X-PGP-Key-ID: C38E8160A17841FE X-Nmudiff-Version: 2.26.11~bpo13+1 X-Debian-User: aron X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1996969 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 191 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Fri, 16 Oct 2026 00:24:59 +0800 X-Original-Message-ID: <atD-W5UCtmkPLByy@workstation> X-Original-References: <asak69mquPeUnwaW@ramacher.at>