wok-stable rev 11322

gcompris: G_CONST_RETURN hack
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Nov 17 11:23:49 2011 +0100 (2011-11-17)
parents 50aadf88e1a3
children 379bfee924ae
files gcompris/receipt
line diff
     1.1 --- a/gcompris/receipt	Thu Nov 17 11:07:36 2011 +0100
     1.2 +++ b/gcompris/receipt	Thu Nov 17 11:23:49 2011 +0100
     1.3 @@ -19,7 +19,8 @@
     1.4      cd $src
     1.5      ./configure \
     1.6      	--enable-sdlmixer &&
     1.7 -    make && make install
     1.8 +    make CFLAGS="-DG_CONST_RETURN=const" && make install &&
     1.9 +    find | grep .png | xargs optipng -o7 > /dev/null
    1.10  }
    1.11  
    1.12  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.13 @@ -33,6 +34,4 @@
    1.14  	# Music and voices are splited (gcompris-music, gcompris-fr, etc)
    1.15  	rm -rf $fs/usr/share/gcompris/boards/music
    1.16  	rm -rf $fs/usr/share/gcompris/boards/voices
    1.17 -	cd $fs
    1.18 -	find | grep .png | xargs optipng -o7 > /dev/null
    1.19  }