slackware-current/source/x/fcitx5/7fb3a5500270877d93b61b11b2a17b9b8f6a506b.patch
Patrick J Volkerding b2fa3fdbd7 Mon May 22 19:05:02 UTC 2023
ap/qpdf-11.4.0-x86_64-1.txz:  Upgraded.
l/exiv2-0.27.7-x86_64-1.txz:  Upgraded.
l/imagemagick-7.1.1_10-x86_64-1.txz:  Upgraded.
n/c-ares-1.19.1-x86_64-1.txz:  Upgraded.
  This update fixes bugs and security issues:
  0-byte UDP payload causes Denial of Service.
  Insufficient randomness in generation of DNS query IDs.
  Buffer Underwrite in ares_inet_net_pton().
  AutoTools does not set CARES_RANDOM_FILE during cross compilation.
  For more information, see:
    https://www.cve.org/CVERecord?id=CVE-2023-32067
    https://www.cve.org/CVERecord?id=CVE-2023-31147
    https://www.cve.org/CVERecord?id=CVE-2023-31130
    https://www.cve.org/CVERecord?id=CVE-2023-31124
  (* Security fix *)
n/wget-1.21.4-x86_64-1.txz:  Upgraded.
xap/gnuplot-5.4.7-x86_64-1.txz:  Upgraded.
2023-05-22 21:32:45 +02:00

26 lines
1.1 KiB
Diff

From 7fb3a5500270877d93b61b11b2a17b9b8f6a506b Mon Sep 17 00:00:00 2001
From: Weng Xuetian <wengxt@gmail.com>
Date: Sat, 20 May 2023 20:02:24 -0700
Subject: [PATCH] Fix compatiblity with fmt 10.0
Fix #797
---
src/modules/dbus/dbusmodule.cpp | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/modules/dbus/dbusmodule.cpp b/src/modules/dbus/dbusmodule.cpp
index a7196676..6bebee30 100644
--- a/src/modules/dbus/dbusmodule.cpp
+++ b/src/modules/dbus/dbusmodule.cpp
@@ -570,8 +570,9 @@ class Controller1 : public ObjectVTable<Controller1> {
ss << fmt::format("{:02x}", static_cast<int>(v));
}
ss << "] program:" << ic->program()
- << " frontend:" << ic->frontend()
- << " cap:" << fmt::format("{:x}", ic->capabilityFlags())
+ << " frontend:" << ic->frontend() << " cap:"
+ << fmt::format("{:x}",
+ static_cast<uint64_t>(ic->capabilityFlags()))
<< " focus:" << ic->hasFocus() << std::endl;
return true;
});