wok diff eduke32/receipt @ rev 5712

webalizer: fix for gcc 4.4+
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jun 24 08:26:30 2010 +0200 (2010-06-24)
parents 31c985a0bd3d
children 7ea88aca3c62
line diff
     1.1 --- a/eduke32/receipt	Tue Feb 16 13:39:45 2010 +0000
     1.2 +++ b/eduke32/receipt	Thu Jun 24 08:26:30 2010 +0200
     1.3 @@ -17,7 +17,12 @@
     1.4  {
     1.5     	mv eduke32_src_20090131 eduke32-20090313
     1.6  	cd $src
     1.7 -    	wget http://wiki.eduke32.com/stuff/source_code/eduke32_src_20090313.diff
     1.8 +	[ -f $SOURCES_REPOSITORY/eduke32_src_20090313.diff ] &&
     1.9 +	cp $SOURCES_REPOSITORY/eduke32_src_20090313.diff .
    1.10 +	if [ ! -f eduke32_src_20090313.diff ]; then
    1.11 +    		wget http://wiki.eduke32.com/stuff/source_code/eduke32_src_20090313.diff
    1.12 +		cp eduke32_src_20090313.diff $SOURCES_REPOSITORY
    1.13 +	fi
    1.14     	patch -p1 < eduke32_src_20090313.diff
    1.15  	make || return 1
    1.16      	mkdir $src/_pkg