wok rev 21370

gnuradio, mtp-tools, potamus: fix build
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Apr 21 20:00:24 2019 +0200 (2019-04-21)
parents 6f52735cb8a2
children 22fd45e82f56
files gnuradio/receipt mtp-tools/receipt potamus/receipt
line diff
     1.1 --- a/gnuradio/receipt	Sun Apr 21 17:43:33 2019 +0100
     1.2 +++ b/gnuradio/receipt	Sun Apr 21 20:00:24 2019 +0200
     1.3 @@ -25,6 +25,7 @@
     1.4  # Rules to configure and make the package.
     1.5  compile_rules()
     1.6  {
     1.7 +	export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lpthread"
     1.8  	patch --input=$stuff/patches/float_array_to_int.patch \
     1.9  		$src/gr-blocks/lib/float_array_to_int.cc
    1.10  	patch --input=$stuff/patches/test_tag_variable_rate_ff_impl.patch \
     2.1 --- a/mtp-tools/receipt	Sun Apr 21 17:43:33 2019 +0100
     2.2 +++ b/mtp-tools/receipt	Sun Apr 21 20:00:24 2019 +0200
     2.3 @@ -15,6 +15,6 @@
     2.4  genpkg_rules()
     2.5  {
     2.6  	mkdir -p $fs/lib/udev $fs/usr/bin
     2.7 -	cp -a $install/lib/udev/mtp-probe $fs/lib/udev
     2.8 +	cp -a $install/usr/lib/udev/mtp-probe $fs/lib/udev
     2.9  	cp -a $install/usr/bin $fs/usr
    2.10  }
     3.1 --- a/potamus/receipt	Sun Apr 21 17:43:33 2019 +0100
     3.2 +++ b/potamus/receipt	Sun Apr 21 20:00:24 2019 +0200
     3.3 @@ -23,7 +23,8 @@
     3.4  
     3.5  # Handle cross compilation.
     3.6  case "$ARCH" in
     3.7 -	i?86) BUILD_DEPENDS="$BUILD_DEPENDS flac-dev" ;;
     3.8 +	i?86) BUILD_DEPENDS="$BUILD_DEPENDS flac-dev"
     3.9 +	      export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries -lm" ;;
    3.10  	arm*) ARCH_ARGS="--disable-input-flac" ;;
    3.11  esac
    3.12