wok-current rev 21881

warmux: fix build
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Sep 29 18:44:01 2019 +0200 (2019-09-29)
parents e815c1b9f80a
children fffb92e609f9
files warmux/receipt
line diff
     1.1 --- a/warmux/receipt	Sun Sep 29 12:06:26 2019 +0200
     1.2 +++ b/warmux/receipt	Sun Sep 29 18:44:01 2019 +0200
     1.3 @@ -24,6 +24,8 @@
     1.4  	sed -i 's/test -z "$(pkgdatadir)"/test -d "$(pkgdatadir)"/' data/Makefile.in
     1.5  	sed -i 's|if USE_X11|if SKIP_USE_X11|' src/tool/copynpaste.cpp
     1.6  	sed -i "s|test -d \"\\\$(pkgdatadir|test -d \"\\\$(DESTDIR)\\\$(pkgdatadir|" data/Makefile*
     1.7 +	sed -i 's|SDLNet_Read32(buffer|SDLNet_Read32(const_cast<char*>(buffer)|' \
     1.8 +		lib/warmux/action/action.cpp
     1.9  	mkdir -p $DESTDIR/usr/share/warmux
    1.10  
    1.11  	./configure \