git.iko.soy/typeable/nixpkgs
on master help sign in
gnuradio: fix build for gcc6 and newer boost (#29740)
commit3766637bddb20b80203441fc1cc1b196e2548c04 authorRodney Lorrimar <dev@rodney.id.au> dateTue 26 Sep 2017, 01:20 (9 years ago) parentbda2d25
1 file changed+7−1
pkgs/applications/misc/gnuradio/default.nix+7−1
pkgs/applications/misc/gnuradio/default.nix+7−1
@@ -41,8 +41,14 @@ stdenv.mkDerivation rec {
4141
4242 enableParallelBuilding = true;
4343
44+ postPatch = ''
45+ substituteInPlace \
46+ gr-fec/include/gnuradio/fec/polar_decoder_common.h \
47+ --replace BOOST_CONSTEXPR_OR_CONST const
48+ '';
49+
4450 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"
4652 '';
4753
4854 # - Ensure we get an interactive backend for matplotlib. If not the gr_plot_*