net-wireless/gnuradio: fixes build with GCC-13

Signed-off-by: Mario Haustein <mario.haustein@hrz.tu-chemnitz.de>
Closes: https://github.com/gentoo/gentoo/pull/31472
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Mario Haustein
2023-06-15 23:18:16 +02:00
committed by Sam James
parent 5f7ad4a0e3
commit 3eeb1d9a91
4 changed files with 23 additions and 0 deletions

View File

@@ -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>

View File

@@ -134,6 +134,7 @@ DEPEND="${RDEPEND}
PATCHES=(
"${FILESDIR}/${PN}-3.10.3.0-fix-fmt-v9.patch" #858659
"${FILESDIR}/${PN}-3.10.4.0-fix-blockinterleaving.patch"
"${FILESDIR}/${PN}-3.10.6.0-fix-stdint.patch"
)
src_prepare() {

View File

@@ -133,6 +133,7 @@ DEPEND="${RDEPEND}
PATCHES=(
"${FILESDIR}/${PN}-3.10.3.0-fix-fmt-v9.patch" #858659
"${FILESDIR}/${PN}-3.10.6.0-fix-stdint.patch"
)
src_prepare() {

View File

@@ -133,6 +133,7 @@ DEPEND="${RDEPEND}
PATCHES=(
"${FILESDIR}/${PN}-3.10.3.0-fix-fmt-v9.patch" #858659
"${FILESDIR}/${PN}-3.10.6.0-fix-stdint.patch"
)
src_prepare() {