summaryrefslogtreecommitdiffstats
path: root/meta/packages/gcc/gcc-4.3.1/debian/gpc-4.1.dpatch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/gcc/gcc-4.3.1/debian/gpc-4.1.dpatch')
-rw-r--r--meta/packages/gcc/gcc-4.3.1/debian/gpc-4.1.dpatch28
1 files changed, 28 insertions, 0 deletions
diff --git a/meta/packages/gcc/gcc-4.3.1/debian/gpc-4.1.dpatch b/meta/packages/gcc/gcc-4.3.1/debian/gpc-4.1.dpatch
new file mode 100644
index 0000000000..fcd499115f
--- /dev/null
+++ b/meta/packages/gcc/gcc-4.3.1/debian/gpc-4.1.dpatch
@@ -0,0 +1,28 @@
1#! /bin/sh -e
2
3# DP: GPC updates for GCC 4.1.2
4
5dir=gcc/
6if [ $# -eq 3 -a "$2" = '-d' ]; then
7 pdir="-d $3/gcc"
8 dir="$3/gcc/"
9elif [ $# -ne 1 ]; then
10 echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
11 exit 1
12fi
13case "$1" in
14 -patch)
15 patch $pdir -f --no-backup-if-mismatch -p1 < $0
16 #cd ${dir}gcc && autoconf
17 ;;
18 -unpatch)
19 patch $pdir -f --no-backup-if-mismatch -R -p1 < $0
20 #rm ${dir}gcc/configure
21 ;;
22 *)
23 echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
24 exit 1
25esac
26exit 0
27
28Not yet available for GCC-4.3