diff --git a/fix-build-with-fmt9.patch b/fix-build-with-fmt9.patch new file mode 100644 index 0000000..5c4fdf4 --- /dev/null +++ b/fix-build-with-fmt9.patch @@ -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(); diff --git a/gnuradio.changes b/gnuradio.changes index 9f14b9c..4953d77 100644 --- a/gnuradio.changes +++ b/gnuradio.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sun Oct 23 18:38:48 UTC 2022 - Martin Hauke + +- Add patch: + * fix-build-with-fmt9.patch + ------------------------------------------------------------------- Mon Sep 19 11:58:41 UTC 2022 - pgajdos@suse.com diff --git a/gnuradio.spec b/gnuradio.spec index 4f1fc2e..e289494 100644 --- a/gnuradio.spec +++ b/gnuradio.spec @@ -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