Source: termpaint
Version: 0.3.0-3
Tags: patch

I just started thinking that this bug may be keeping new fmtlib versions
from flowing into Debian unstable, and noticed the fix is already in the
upstream git repo:

https://github.com/termpaint/termpaint/commit/291e78c1b1ce57315fd176b09a3038d95b88febd

Could you add that patch to termpaint to close this bug?
(Also update Build-Depends: pkg-config => pkgconf
and update Standards-Version)

It would help gnuradio 4.0 development to proceed if then a newer
version of fmtlib were available.

Thanks!
-Maitland

enc:
Upstream patch 0011-tools-mcheck-Adjust-for-fmtlib-version-10.patch

>From 291e78c1b1ce57315fd176b09a3038d95b88febd Mon Sep 17 00:00:00 2001
From: Martin Hostettler <textsh...@uchuujin.de>
Date: Wed, 22 Nov 2023 23:21:28 +0100
Subject: [PATCH 11/47] tools/mcheck: Adjust for fmtlib version 10

Older versions allowed using enums implicitly, now that is no longer
possible, so add an explicit cast.
---
 tools/mcheck.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/mcheck.cpp b/tools/mcheck.cpp
index ecd4900..67807db 100644
--- a/tools/mcheck.cpp
+++ b/tools/mcheck.cpp
@@ -169,7 +169,7 @@ void update_interpretation(std::string filename) {
                 }
                 state = GOT_SYNC;
             } else {
-                die(fmt::format("Unable to interpret value for key '{}'. State was {}", keyId, state));
+                die(fmt::format("Unable to interpret value for key '{}'. State was {}", keyId, (int)state));
             }
         };
 
-- 
2.39.2

Reply via email to