3
# All lines beginning with `# DPATCH:' are a description of the patch.
4
# DP: <your description>
10
if [ $# -eq 3 -a "$2" = '-d' ]; then
13
elif [ $# -ne 1 ]; then
14
echo >&2 "usage: `basename $0`: -patch|-unpatch [-d <srcdir>]"
19
patch $pdir -f --no-backup-if-mismatch -p0 < $0
20
#cd ${dir}gcc && autoconf
23
patch $pdir -f --no-backup-if-mismatch -R -p0 < $0
24
#rm ${dir}gcc/configure
27
echo >&2 "usage: `basename $0`: -patch|-unpatch [-d <srcdir>]"
32
# append the patch here and adjust the -p? flag in the patch calls.