# HG changeset patch # User Pascal Bellard # Date 1244793536 -7200 # Node ID a3f50ad7bac2d92b138e706ede02c913a9005032 # Parent a5a4c74197527dcc6e6e1cde01f631d3c1d745df childsplay: fix patch diff -r a5a4c7419752 -r a3f50ad7bac2 childsplay/receipt --- a/childsplay/receipt Fri Jun 12 09:41:02 2009 +0200 +++ b/childsplay/receipt Fri Jun 12 09:58:56 2009 +0200 @@ -17,7 +17,11 @@ compile_rules() { cd $src - patch -p1 -i ../stuff/INSTALL.sh.patch + for i in INSTALL.sh.patch ; do + [ -f $i.done ] && continue + patch -p0 -i ../stuff/$i + touch $i.done + done sh INSTALL.sh sed -i "s/\/usr\/local/\/usr/" $src/_pkg/usr/bin/childsplay }