summaryrefslogtreecommitdiff
path: root/net-wireless/uhd/files/uhd-4.6.0.0-boost-1.87-2.patch
blob: d8d3085a2c141c261d7e6bbdc554be1ed0de1b60 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
https://github.com/EttusResearch/uhd/commit/e75629c3cfb4d0a654648f775e65e79375cf4f13
https://bugs.gentoo.org/946371#c12

From e75629c3cfb4d0a654648f775e65e79375cf4f13 Mon Sep 17 00:00:00 2001
From: Martin Braun <martin.braun@ettus.com>
Date: Thu, 5 Dec 2024 20:34:15 +0100
Subject: [PATCH] lib: Fix boost::detail::atomic_count header

This fixes a deprecation warning.
---
 host/include/uhd/transport/zero_copy.hpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/uhd/transport/zero_copy.hpp b/include/uhd/transport/zero_copy.hpp
index 5f954e24e4..2f15e8c4c7 100644
--- a/include/uhd/transport/zero_copy.hpp
+++ b/include/uhd/transport/zero_copy.hpp
@@ -9,8 +9,8 @@
 
 #include <uhd/config.hpp>
 #include <uhd/utils/noncopyable.hpp>
-#include <boost/detail/atomic_count.hpp>
 #include <boost/intrusive_ptr.hpp>
+#include <boost/smart_ptr/detail/atomic_count.hpp>
 #include <boost/utility.hpp>
 #include <memory>