diff options
author | Richard Purdie <richard@openedhand.com> | 2008-07-18 12:28:46 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2008-07-18 12:28:46 +0000 |
commit | e8bda8575637b967afaa0321fc3aeb69e809087a (patch) | |
tree | d4865b2556e227b403f9c13ad128d9bfb3c009d8 /meta/packages/gcc/gcc-4.3.1/debian/cross-include.dpatch | |
parent | f204c8376f18d6cc443e7f4533d7eeace5d45f95 (diff) | |
download | poky-e8bda8575637b967afaa0321fc3aeb69e809087a.tar.gz |
gcc 4.3.0 -> 4.3.1 (from OE)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4876 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/gcc/gcc-4.3.1/debian/cross-include.dpatch')
-rw-r--r-- | meta/packages/gcc/gcc-4.3.1/debian/cross-include.dpatch | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/meta/packages/gcc/gcc-4.3.1/debian/cross-include.dpatch b/meta/packages/gcc/gcc-4.3.1/debian/cross-include.dpatch new file mode 100644 index 0000000000..c2622903ec --- /dev/null +++ b/meta/packages/gcc/gcc-4.3.1/debian/cross-include.dpatch | |||
@@ -0,0 +1,39 @@ | |||
1 | #! /bin/sh -e | ||
2 | |||
3 | # DP: Set cross include path to .../include, not .../sys-include | ||
4 | # DP: This should be a fix for famous limits.h issue | ||
5 | |||
6 | dir= | ||
7 | if [ $# -eq 3 -a "$2" = '-d' ]; then | ||
8 | pdir="-d $3" | ||
9 | dir="$3/" | ||
10 | elif [ $# -ne 1 ]; then | ||
11 | echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" | ||
12 | exit 1 | ||
13 | fi | ||
14 | case "$1" in | ||
15 | -patch) | ||
16 | patch $pdir -f --no-backup-if-mismatch -p0 < $0 | ||
17 | cd ${dir}gcc && autoconf | ||
18 | ;; | ||
19 | -unpatch) | ||
20 | patch $pdir -f --no-backup-if-mismatch -R -p0 < $0 | ||
21 | cd ${dir}gcc && autoconf | ||
22 | ;; | ||
23 | *) | ||
24 | echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" | ||
25 | exit 1 | ||
26 | esac | ||
27 | exit 0 | ||
28 | |||
29 | --- gcc/configure.ac.orig 2005-08-24 06:24:11.000000000 +0400 | ||
30 | +++ gcc/configure.ac 2005-12-06 00:40:45.000000000 +0300 | ||
31 | @@ -681,7 +681,7 @@ | ||
32 | ], [ | ||
33 | TARGET_SYSTEM_ROOT= | ||
34 | TARGET_SYSTEM_ROOT_DEFINE= | ||
35 | - CROSS_SYSTEM_HEADER_DIR='$(gcc_tooldir)/sys-include' | ||
36 | + CROSS_SYSTEM_HEADER_DIR='$(prefix)/$(target_noncanonical)/include' | ||
37 | ]) | ||
38 | AC_SUBST(TARGET_SYSTEM_ROOT) | ||
39 | AC_SUBST(TARGET_SYSTEM_ROOT_DEFINE) | ||