# HG changeset patch # User Pascal Bellard # Date 1555955131 -7200 # Node ID 4c20b3e68b2044a11fd93fb809dd8eb3d3b1f813 # Parent fdfad9b9a4eadb33f7a3e754641f30950947807c mana, newsbeuter: fix build diff -r fdfad9b9a4ea -r 4c20b3e68b20 mana/receipt --- a/mana/receipt Mon Apr 22 17:39:52 2019 +0100 +++ b/mana/receipt Mon Apr 22 19:45:31 2019 +0200 @@ -19,7 +19,7 @@ # Rules to configure and make the package. compile_rules() { - cd $src + sed -i 's|\(enet_host_c.*\))|\1,0)|' src/net/manaserv/*.cpp ./configure --prefix=/usr --without-opengl $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install diff -r fdfad9b9a4ea -r 4c20b3e68b20 newsbeuter/receipt --- a/newsbeuter/receipt Mon Apr 22 17:39:52 2019 +0100 +++ b/newsbeuter/receipt Mon Apr 22 19:45:31 2019 +0200 @@ -17,6 +17,7 @@ # Rules to configure and make the package. compile_rules() { + sed -i 's|is_error(\([^)]*\))|\1 == nullptr|' src/*.cpp sed -i 's|/usr/local|/usr|;s|^include config.mk|-&|' Makefile export LD_LIBRARY_PATH="/usr/libgcc49:$LD_LIBRARY_PATH" make CC=gcc-49 CXX=g++-49 &&