From fad77c8511796b5373bce91ce0e1b1608123ed4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Thu, 13 Oct 2022 20:28:55 +0700 Subject: [PATCH] uhd: fix build for gcc 12 --- srcpkgs/uhd/patches/fix-include.patch | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 srcpkgs/uhd/patches/fix-include.patch diff --git a/srcpkgs/uhd/patches/fix-include.patch b/srcpkgs/uhd/patches/fix-include.patch new file mode 100644 index 00000000000..0b8efaffc3c --- /dev/null +++ b/srcpkgs/uhd/patches/fix-include.patch @@ -0,0 +1,27 @@ +Index: uhd-4.0.0.0/host/lib/usrp/dboard/e3xx/e3xx_radio_control_impl.cpp +=================================================================== +--- uhd-4.0.0.0.orig/host/lib/usrp/dboard/e3xx/e3xx_radio_control_impl.cpp ++++ uhd-4.0.0.0/host/lib/usrp/dboard/e3xx/e3xx_radio_control_impl.cpp +@@ -17,6 +17,7 @@ + #include + #include + #include ++#include + + using namespace uhd; + using namespace uhd::usrp; +Index: uhd-4.0.0.0/host/lib/include/uhdlib/utils/rpc.hpp +=================================================================== +--- uhd-4.0.0.0.orig/host/lib/include/uhdlib/utils/rpc.hpp ++++ uhd-4.0.0.0/host/lib/include/uhdlib/utils/rpc.hpp +@@ -12,7 +12,10 @@ + #include + #include + #include ++#include + #include ++#include ++#include + + namespace { +