From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-wireless/gnuradio/files/, net-wireless/gnuradio/
Date: Wed, 08 Jan 2025 09:24:51 +0000 (UTC) [thread overview]
Message-ID: <1736328267.f61d916a311ab33f4baac7053d0ad3d28b87d6ee.sam@gentoo> (raw)
commit: f61d916a311ab33f4baac7053d0ad3d28b87d6ee
Author: Z. Liu <zhixu.liu <AT> gmail <DOT> com>
AuthorDate: Mon Jan 6 04:28:29 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Jan 8 09:24:27 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f61d916a
net-wireless/gnuradio: fix build w/ libfmt-11.0
patch from upstream
Closes: https://bugs.gentoo.org/947618
Signed-off-by: Z. Liu <zhixu.liu <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/40002
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../files/gnuradio-3.10.9.2-libfmt-11.patch | 50 ++++++++++++++++++++++
net-wireless/gnuradio/gnuradio-3.10.9.2-r6.ebuild | 7 ++-
2 files changed, 55 insertions(+), 2 deletions(-)
diff --git a/net-wireless/gnuradio/files/gnuradio-3.10.9.2-libfmt-11.patch b/net-wireless/gnuradio/files/gnuradio-3.10.9.2-libfmt-11.patch
new file mode 100644
index 000000000000..60304a36ea16
--- /dev/null
+++ b/net-wireless/gnuradio/files/gnuradio-3.10.9.2-libfmt-11.patch
@@ -0,0 +1,50 @@
+From 19b070051c1c2b5fb6f2da8fb6422b27418c3dfa Mon Sep 17 00:00:00 2001
+From: Kefu Chai <tchaikov@gmail.com>
+Date: Mon, 15 Jul 2024 09:27:16 +0800
+Subject: [PATCH] blocks,runtime: io_signature: include spdlog/*/ranges.h for
+ using fmt::join()
+
+fmt::join() was moved into fmt/ranges.h since fmt 11, so let's
+include the corresponding header in spdlog for using it.
+
+Signed-off-by: Kefu Chai <tchaikov@gmail.com>
+---
+ gnuradio-runtime/lib/io_signature.cc | 5 +++++
+ gr-blocks/lib/message_debug_impl.cc | 5 +++++
+ 2 files changed, 10 insertions(+)
+
+diff --git a/gnuradio-runtime/lib/io_signature.cc b/gnuradio-runtime/lib/io_signature.cc
+index 812f444f8..76bb2aba6 100644
+--- a/gnuradio-runtime/lib/io_signature.cc
++++ b/gnuradio-runtime/lib/io_signature.cc
+@@ -16,6 +16,11 @@
+ #include <spdlog/tweakme.h>
+
+ #include <spdlog/fmt/fmt.h>
++#if __has_include(<spdlog/fmt/ranges.h>)
++#include <spdlog/fmt/ranges.h>
++#elif __has_include(<spdlog/fmt/bundled/ranges.h>)
++#include <spdlog/fmt/bundled/ranges.h>
++#endif
+ #include <string_view>
+ #include <algorithm>
+ #include <memory>
+diff --git a/gr-blocks/lib/message_debug_impl.cc b/gr-blocks/lib/message_debug_impl.cc
+index 41d312e43..373287b02 100644
+--- a/gr-blocks/lib/message_debug_impl.cc
++++ b/gr-blocks/lib/message_debug_impl.cc
+@@ -19,6 +19,11 @@
+ #include <pmt/pmt.h>
+ #include <spdlog/common.h>
+ #include <spdlog/fmt/fmt.h>
++#if __has_include(<spdlog/fmt/ranges.h>)
++#include <spdlog/fmt/ranges.h>
++#elif __has_include(<spdlog/fmt/bundled/ranges.h>)
++#include <spdlog/fmt/bundled/ranges.h>
++#endif
+ #include <functional>
+ #include <utility>
+ #include <vector>
+--
+2.45.2
+
diff --git a/net-wireless/gnuradio/gnuradio-3.10.9.2-r6.ebuild b/net-wireless/gnuradio/gnuradio-3.10.9.2-r6.ebuild
index f4eaff739bf2..e2b0ef2bca50 100644
--- a/net-wireless/gnuradio/gnuradio-3.10.9.2-r6.ebuild
+++ b/net-wireless/gnuradio/gnuradio-3.10.9.2-r6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -131,7 +131,10 @@ DEPEND="${RDEPEND}
zeromq? ( net-libs/cppzmq )
"
-PATCHES=( "${FILESDIR}/PR7093.patch" )
+PATCHES=(
+ "${FILESDIR}/PR7093.patch"
+ "${FILESDIR}"/${PN}-3.10.9.2-libfmt-11.patch
+)
src_prepare() {
xdg_environment_reset #534582
next reply other threads:[~2025-01-08 9:24 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-01-08 9:24 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-01-25 3:40 [gentoo-commits] repo/gentoo:master commit in: net-wireless/gnuradio/files/, net-wireless/gnuradio/ Rick Farina
2022-10-22 8:10 Thomas Beierlein
2022-08-17 12:33 Thomas Beierlein
2020-09-21 18:46 Rick Farina
2018-02-18 3:48 Richard Farina
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1736328267.f61d916a311ab33f4baac7053d0ad3d28b87d6ee.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox