wok-6.x rev 21399
mana, newsbeuter: fix build
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Apr 22 19:45:31 2019 +0200 (2019-04-22) |
parents | fdfad9b9a4ea |
children | 4e8d50d02b70 |
files | mana/receipt newsbeuter/receipt |
line diff
1.1 --- a/mana/receipt Mon Apr 22 17:39:52 2019 +0100 1.2 +++ b/mana/receipt Mon Apr 22 19:45:31 2019 +0200 1.3 @@ -19,7 +19,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|\(enet_host_c.*\))|\1,0)|' src/net/manaserv/*.cpp 1.9 ./configure --prefix=/usr --without-opengl $CONFIGURE_ARGS && 1.10 make && 1.11 make DESTDIR=$DESTDIR install
2.1 --- a/newsbeuter/receipt Mon Apr 22 17:39:52 2019 +0100 2.2 +++ b/newsbeuter/receipt Mon Apr 22 19:45:31 2019 +0200 2.3 @@ -17,6 +17,7 @@ 2.4 # Rules to configure and make the package. 2.5 compile_rules() 2.6 { 2.7 + sed -i 's|is_error(\([^)]*\))|\1 == nullptr|' src/*.cpp 2.8 sed -i 's|/usr/local|/usr|;s|^include config.mk|-&|' Makefile 2.9 export LD_LIBRARY_PATH="/usr/libgcc49:$LD_LIBRARY_PATH" 2.10 make CC=gcc-49 CXX=g++-49 &&