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