SHA256
1
0
forked from pool/gnuradio

Accepting request 1030613 from home:mnhauke:sdr-devel

- Add patch:
  * fix-build-with-fmt9.patch

OBS-URL: https://build.opensuse.org/request/show/1030613
OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/gnuradio?expand=0&rev=120
This commit is contained in:
Martin Pluskal 2022-10-24 05:48:42 +00:00 committed by Git OBS Bridge
parent b6773554af
commit cbbb11fcb9
3 changed files with 20 additions and 0 deletions

13
fix-build-with-fmt9.patch Normal file
View File

@ -0,0 +1,13 @@
diff --git a/gnuradio-runtime/lib/controlport/thrift/rpcpmtconverters_thrift.cc b/gnuradio-runtime/lib/controlport/thrift/rpcpmtconverters_thrift.cc
index 8ef3db1..afbb470 100644
--- a/gnuradio-runtime/lib/controlport/thrift/rpcpmtconverters_thrift.cc
+++ b/gnuradio-runtime/lib/controlport/thrift/rpcpmtconverters_thrift.cc
@@ -111,7 +111,7 @@ GNURadio::Knob rpcpmtconverter::from_pmt(const pmt::pmt_t& knob)
// FIXME: Don't get loggers every time we need to log something.
gr::logger_ptr logger, debug_logger;
gr::configure_default_loggers(logger, debug_logger, "rpcpmtconverter");
- logger->error("ERROR Don't know how to handle Knob Type (from): {}", knob);
+ logger->error("ERROR Don't know how to handle Knob Type (from): {}", pmt::write_string(knob));
assert(0);
}
return GNURadio::Knob();

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Oct 23 18:38:48 UTC 2022 - Martin Hauke <mardnh@gmx.de>
- Add patch:
* fix-build-with-fmt9.patch
-------------------------------------------------------------------
Mon Sep 19 11:58:41 UTC 2022 - pgajdos@suse.com

View File

@ -34,6 +34,7 @@ Source0: https://github.com/gnuradio/gnuradio/archive/refs/tags/v%{versio
Source4: grc_to_37.sh
Source99: %{name}-rpmlintrc
Patch0: missing_library.patch
Patch1: fix-build-with-fmt9.patch
BuildRequires: alsa-devel
BuildRequires: cmake >= 3.16.3
BuildRequires: codec2-devel