wok-6.x diff coreutils/receipt @ rev 4031

Up: dwm (5.6.1)
author Paul Issott <paul@slitaz.org>
date Mon Sep 07 19:47:50 2009 +0000 (2009-09-07)
parents 27dbd5251d69
children 11129d96133c
line diff
     1.1 --- a/coreutils/receipt	Thu Jun 25 12:25:00 2009 +0000
     1.2 +++ b/coreutils/receipt	Mon Sep 07 19:47:50 2009 +0000
     1.3 @@ -19,11 +19,17 @@
     1.4  	# NOTE: There does not seem to be a problem with sigcontext.h in Linux 2.6.29.3
     1.5  
     1.6  	# Hack to fix ls: expected specifier-qualifier-list before '__u64'
     1.7 -	# We are not patching the original file, just fake to compile
     1.8 -	# coreutils.
     1.9 -	# rm -f /usr/include/asm/sigcontext.h.bak
    1.10 -	# mv /usr/include/asm/sigcontext.h /usr/include/asm/sigcontext.h.bak || exit 1
    1.11 -	# cp ../stuff/sigcontext.h /usr/include/asm
    1.12 +	while read patch_file; do
    1.13 +		if [ -f done.$patch_file ]; then
    1.14 +			echo "Skipping $patch_file"
    1.15 +			continue
    1.16 +		fi
    1.17 +		echo "Apply $patch_file"
    1.18 +		patch -p1 < ../stuff/$patch_file || return 1
    1.19 +		touch done.$patch_file
    1.20 +	done <<EOT
    1.21 +ls.u
    1.22 +EOT
    1.23  	
    1.24  	sed -i 's/1.10a/1.10.2/' configure.ac || exit 1
    1.25  	sed -i 's/dist-xz/dist-lzma/' configure.ac || exit 1