# HG changeset patch # User Pascal Bellard # Date 1246992882 -7200 # Node ID 764e28919242bde9746211e2f2d6d8e1020765fa # Parent 250b023ab9323e7959396ecb29e18af6b3024607 Hack coreutils compile diff -r 250b023ab932 -r 764e28919242 coreutils/receipt --- a/coreutils/receipt Tue Jul 07 19:03:50 2009 +0200 +++ b/coreutils/receipt Tue Jul 07 20:54:42 2009 +0200 @@ -19,11 +19,17 @@ # NOTE: There does not seem to be a problem with sigcontext.h in Linux 2.6.29.3 # Hack to fix ls: expected specifier-qualifier-list before '__u64' - # We are not patching the original file, just fake to compile - # coreutils. - # rm -f /usr/include/asm/sigcontext.h.bak - # mv /usr/include/asm/sigcontext.h /usr/include/asm/sigcontext.h.bak || exit 1 - # cp ../stuff/sigcontext.h /usr/include/asm + while read patch_file; do + if [ -f done.$patch_file ]; then + echo "Skipping $patch_file" + continue + fi + echo "Apply $patch_file" + patch -p1 < ../stuff/$patch_file || return 1 + touch done.$patch_file + done < + #include + #include ++#include + #include + #include + #include