gnuradio: fix build for gcc6 and newer boost (#29740)

authored by Rodney Lorrimar and committed by Joachim F 3766637b bda2d25a

+7 -1
+7 -1
pkgs/applications/misc/gnuradio/default.nix
··· 41 41 42 42 enableParallelBuilding = true; 43 43 44 + postPatch = '' 45 + substituteInPlace \ 46 + gr-fec/include/gnuradio/fec/polar_decoder_common.h \ 47 + --replace BOOST_CONSTEXPR_OR_CONST const 48 + ''; 49 + 44 50 preConfigure = '' 45 - export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -Wno-unused-variable" 51 + export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -Wno-unused-variable -std=c++11" 46 52 ''; 47 53 48 54 # - Ensure we get an interactive backend for matplotlib. If not the gr_plot_*