wok-next rev 19706

ttyrec, tcpick: fix build
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Apr 27 13:48:01 2017 +0200 (2017-04-27)
parents 777348fd8b60
children bdce106d4c57
files tcpick/receipt tty-clock/receipt ttyrec/receipt
line diff
     1.1 --- a/tcpick/receipt	Wed Apr 26 19:08:44 2017 +0200
     1.2 +++ b/tcpick/receipt	Thu Apr 27 13:48:01 2017 +0200
     1.3 @@ -16,7 +16,7 @@
     1.4  # Rules to configure and make the package.
     1.5  compile_rules()
     1.6  {
     1.7 -	cd $src
     1.8 +	sed -i 's/__inline__//' src/*.c
     1.9  	./configure --mandir=/usr/share/man && make && make install
    1.10  }
    1.11  
     2.1 --- a/tty-clock/receipt	Wed Apr 26 19:08:44 2017 +0200
     2.2 +++ b/tty-clock/receipt	Thu Apr 27 13:48:01 2017 +0200
     2.3 @@ -17,7 +17,10 @@
     2.4  # Rules to configure and make the package.
     2.5  compile_rules()
     2.6  {
     2.7 -	cd $src
     2.8 +	for i in ncursesw5-config ncurses5-config ; do
     2.9 +		bin=$(ls /usr/bin/${i/5/?} 2> /dev/null)
    2.10 +		[ -n "$bin" ] && sed -i "s|$i|$(basename $bin)|" Makefile
    2.11 +	done
    2.12  	make
    2.13  }
    2.14  
     3.1 --- a/ttyrec/receipt	Wed Apr 26 19:08:44 2017 +0200
     3.2 +++ b/ttyrec/receipt	Thu Apr 27 13:48:01 2017 +0200
     3.3 @@ -13,6 +13,7 @@
     3.4  # Rules to configure and make the package.
     3.5  compile_rules()
     3.6  {
     3.7 +	sed -i 's/union wait/int/' ttyrec.c
     3.8  	make
     3.9  }
    3.10