wok-current rev 4072

syasokoban: cook with gcc 4.4 serie
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Sep 13 02:47:12 2009 +0200 (2009-09-13)
parents f3abba8e5e11
children 7e4cc2ea9585
files syasokoban/receipt syasokoban/stuff/gcc44.u
line diff
     1.1 --- a/syasokoban/receipt	Sat Sep 12 22:38:05 2009 +0200
     1.2 +++ b/syasokoban/receipt	Sun Sep 13 02:47:12 2009 +0200
     1.3 @@ -15,6 +15,10 @@
     1.4  compile_rules()
     1.5  {
     1.6  	cd $src
     1.7 +	if [ ! -f gcc44.u.done ]; then
     1.8 +		patch -p0 < ../stuff/gcc44.u
     1.9 +		touch gcc44.u.done
    1.10 +	fi
    1.11  	make
    1.12  }
    1.13  
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/syasokoban/stuff/gcc44.u	Sun Sep 13 02:47:12 2009 +0200
     2.3 @@ -0,0 +1,11 @@
     2.4 +--- src/djSettings.cpp
     2.5 ++++ src/djSettings.cpp
     2.6 +@@ -6,6 +6,8 @@
     2.7 + //---------------------------------------------------------------------------
     2.8 + #include "djSettings.h"
     2.9 + #include "djUtils.h"
    2.10 ++#include <string.h>
    2.11 ++#include <stdlib.h>
    2.12 + #include <stdio.h>
    2.13 + 
    2.14 + char g_szConfigFile[2048] = { 0 };