summaryrefslogtreecommitdiff
path: root/net-wireless/gnuradio/files/gnuradio-3.10.6.0-fix-stdint.patch
diff options
context:
space:
mode:
Diffstat (limited to 'net-wireless/gnuradio/files/gnuradio-3.10.6.0-fix-stdint.patch')
-rw-r--r--net-wireless/gnuradio/files/gnuradio-3.10.6.0-fix-stdint.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/net-wireless/gnuradio/files/gnuradio-3.10.6.0-fix-stdint.patch b/net-wireless/gnuradio/files/gnuradio-3.10.6.0-fix-stdint.patch
new file mode 100644
index 000000000000..6252d96fd8b5
--- /dev/null
+++ b/net-wireless/gnuradio/files/gnuradio-3.10.6.0-fix-stdint.patch
@@ -0,0 +1,20 @@
+Author: Christian Inci <chris.gh@broke-the-inter.net>
+Date: Mon May 15 21:26:05 2023 +0200
+Upstream: https://github.com/gnuradio/gnuradio/pull/6667
+
+ Include cstdint in gr-fec's alist.h
+
+ GCC 13 will error out otherwise.
+
+ Signed-off-by: Christian Inci <chris.gh@broke-the-inter.net>
+
+--- a/gr-fec/include/gnuradio/fec/alist.h
++++ b/gr-fec/include/gnuradio/fec/alist.h
+@@ -23,6 +23,7 @@
+ #define ALIST_H
+
+ #include <gnuradio/fec/api.h>
++#include <cstdint>
+ #include <cstdlib>
+ #include <fstream>
+ #include <sstream>