wok-current rev 3805
xplanet: fix for gcc 4.4
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Aug 05 17:11:25 2009 +0200 (2009-08-05) |
parents | 8f6f06772026 |
children | 19d57add85c0 |
files | xplanet/receipt |
line diff
1.1 --- a/xplanet/receipt Wed Aug 05 13:38:51 2009 +0200 1.2 +++ b/xplanet/receipt Wed Aug 05 17:11:25 2009 +0200 1.3 @@ -18,6 +18,10 @@ 1.4 compile_rules() 1.5 { 1.6 cd $src 1.7 + # Fix for gcc 4.4 1.8 + for file in src/Satellite.cpp src/Separation.cpp ; do 1.9 + grep -q cstdio $file || sed -i '2i\#include <cstdio>' $file 1.10 + done 1.11 ./configure --prefix=/usr --mandir=/usr/share/man $CONFIGURE_ARGS && 1.12 make && 1.13 make DESTDIR=$PWD/_pkg install