From 4551b41523452c0d743a71cca34e4dca2ca7538c Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 4 Jan 2023 12:06:28 +0000 Subject: gentoo auto-resync : 04:01:2023 - 12:06:28 --- net-wireless/uhd/files/uhd-4.3.0.0-gcc-13.patch | 95 +++++++++++++++++++++++++ 1 file changed, 95 insertions(+) create mode 100644 net-wireless/uhd/files/uhd-4.3.0.0-gcc-13.patch (limited to 'net-wireless/uhd/files') diff --git a/net-wireless/uhd/files/uhd-4.3.0.0-gcc-13.patch b/net-wireless/uhd/files/uhd-4.3.0.0-gcc-13.patch new file mode 100644 index 000000000000..8559ecb8331f --- /dev/null +++ b/net-wireless/uhd/files/uhd-4.3.0.0-gcc-13.patch @@ -0,0 +1,95 @@ +https://github.com/EttusResearch/uhd/pull/652 + +From 48a05bf621a056af7764437760ad5d64684ce7d2 Mon Sep 17 00:00:00 2001 +From: Sam James +Date: Tue, 3 Jan 2023 23:04:52 +0000 +Subject: [PATCH] Fix build with GCC 13 (add missing include) + +GCC 13 (as usual for new compiler releases) shuffles around some +internal includes and so is no longer transitively included. + +Explicitly include for uint8_t. + +``` +/var/tmp/portage/net-wireless/uhd-4.3.0.0/work/uhd-4.3.0.0/include/uhd/rfnoc/defaults.hpp:43:14: error: 'uint32_t' does not name a type + 43 | static const uint32_t DEFAULT_NOC_ID = 0xFFFFFFFF; + | ^~~~~~~~ +/var/tmp/portage/net-wireless/uhd-4.3.0.0/work/uhd-4.3.0.0/include/uhd/rfnoc/defaults.hpp:1:1: note: 'uint32_t' is defined in header ''; did you forget to '#include '? + +++ |+#include + 1 | // +``` + +Signed-off-by: Sam James +--- a/include/uhd/cal/database.hpp ++++ b/include/uhd/cal/database.hpp +@@ -8,6 +8,7 @@ + + #include + #include ++#include + #include + #include + #include +--- a/include/uhd/rfnoc/defaults.hpp ++++ b/include/uhd/rfnoc/defaults.hpp +@@ -8,6 +8,7 @@ + + #pragma once + ++#include + #include + + namespace uhd { namespace rfnoc { +--- a/include/uhd/types/eeprom.hpp ++++ b/include/uhd/types/eeprom.hpp +@@ -6,6 +6,7 @@ + + #pragma once + ++#include + #include + #include + #include +--- a/include/uhd/usrp/zbx_tune_map_item.hpp ++++ b/include/uhd/usrp/zbx_tune_map_item.hpp +@@ -6,6 +6,7 @@ + + #pragma once + #include ++#include + #include + #include + #include +--- a/lib/usrp/dboard/magnesium/magnesium_constants.hpp ++++ b/lib/usrp/dboard/magnesium/magnesium_constants.hpp +@@ -9,6 +9,7 @@ + + #include + #include ++#include + #include + #include + +--- a/lib/usrp/dboard/rhodium/rhodium_constants.hpp ++++ b/lib/usrp/dboard/rhodium/rhodium_constants.hpp +@@ -9,6 +9,7 @@ + + #include + #include ++#include + #include + #include + +--- a/lib/utils/serial_number.cpp ++++ b/lib/utils/serial_number.cpp +@@ -5,6 +5,7 @@ + // + + #include ++#include + #include + #include + +-- +2.39.0 + -- cgit v1.2.3