diff options
| author | Koen Kooi <koen@openembedded.org> | 2008-04-11 10:44:47 +0000 |
|---|---|---|
| committer | Koen Kooi <koen@openembedded.org> | 2008-04-11 10:44:47 +0000 |
| commit | e2ad63e36348a3e534f6f55b902e22d3ad98be30 (patch) | |
| tree | bf085860292d0ca338a2f249aaa06044984e0ba7 /packages | |
| parent | 8f18958d24640e545bedac5f4d6e30b6eef27134 (diff) | |
gcc 4.3.0: add all patches from debian and fedora into their respective subdirs and apply a few.
Diffstat (limited to 'packages')
108 files changed, 593382 insertions, 4 deletions
diff --git a/packages/gcc/gcc-4.3.0.inc b/packages/gcc/gcc-4.3.0.inc index 1d7184ca7a..b04548a629 100644 --- a/packages/gcc/gcc-4.3.0.inc +++ b/packages/gcc/gcc-4.3.0.inc @@ -6,13 +6,30 @@ require gcc-common.inc DEPENDS = "mpfr gmp" SRC_URI = "ftp://ftp.gnu.org/pub/gnu/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \ + file://fedora/gcc43-c++-builtin-redecl.patch;patch=1;pnum=0 \ + file://fedora/gcc43-ia64-libunwind.patch;patch=1;pnum=0 \ + file://fedora/gcc43-java-nomulti.patch;patch=1;pnum=0 \ + file://fedora/gcc43-ppc32-retaddr.patch;patch=1;pnum=0 \ + file://fedora/gcc43-pr27898.patch;patch=1;pnum=0 \ + file://fedora/gcc43-pr32139.patch;patch=1;pnum=0 \ + file://fedora/gcc43-pr33763.patch;patch=1;pnum=0 \ + file://fedora/gcc43-rh330771.patch;patch=1;pnum=0 \ + file://fedora/gcc43-rh341221.patch;patch=1;pnum=0 \ + file://fedora/gcc43-cpp-pragma.patch;patch=1;pnum=0 \ + file://fedora/gcc43-java-debug-iface-type.patch;patch=1;pnum=0 \ + file://fedora/gcc43-libgomp-speedup.patch;patch=1;pnum=0 \ + file://fedora/gcc43-pr35440.patch;patch=1;pnum=0 \ + file://fedora/gcc43-i386-libgomp.patch;patch=1;pnum=0 \ + file://fedora/gcc43-pr35751.patch;patch=1;pnum=0 \ + file://fedora/gcc43-rh251682.patch;patch=1;pnum=0 \ + file://debian/arm-unbreak-eabi-armv4t.dpatch;patch=1 \ + file://debian/libstdc++-pic.dpatch;patch=1;pnum=0 \ # file://100-uclibc-conf.patch;patch=1 \ # file://103-uclibc-conf-noupstream.patch;patch=1 \ # file://200-uclibc-locale.patch;patch=1 \ # file://203-uclibc-locale-no__x.patch;patch=1 \ # file://204-uclibc-locale-wchar_fix.patch;patch=1 \ # file://205-uclibc-locale-update.patch;patch=1 \ - file://300-libstdc++-pic.patch;patch=1 \ file://301-missing-execinfo_h.patch;patch=1 \ # file://302-c99-snprintf.patch;patch=1 \ # file://303-c99-complex-ugly-hack.patch;patch=1 \ @@ -33,7 +50,6 @@ SRC_URI = "ftp://ftp.gnu.org/pub/gnu/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \ # file://arm-thumb-cache.patch;patch=1 \ file://ldflags.patch;patch=1 \ file://zecke-xgcc-cpp.patch;patch=1 \ -# file://unbreak-armv4t.patch;patch=1 \ file://fix-ICE-in-arm_unwind_emit_set.diff;patch=1 \ file://cache-amnesia.patch;patch=1 \ file://gfortran.patch;patch=1 \ diff --git a/packages/gcc/gcc-4.3.0/debian/.mtn2git_empty b/packages/gcc/gcc-4.3.0/debian/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 --- /dev/null +++ b/packages/gcc/gcc-4.3.0/debian/.mtn2git_empty diff --git a/packages/gcc/gcc-4.3.0/debian/ada-acats.dpatch b/packages/gcc/gcc-4.3.0/debian/ada-acats.dpatch new file mode 100644 index 0000000000..fc25bf901f --- /dev/null +++ b/packages/gcc/gcc-4.3.0/debian/ada-acats.dpatch @@ -0,0 +1,78 @@ +#! /bin/sh -e + +# DP: - When running the ACATS, look for the gnat tools in their new +# DP: directory (build/gnattools), and for the shared libraries in +# DP: build/gcc/ada/rts, build/libgnatvsn and build/libgnatprj. + +dir= +if [ $# -eq 3 -a "$2" = '-d' ]; then + pdir="-d $3" + dir="$3/" +elif [ $# -ne 1 ]; then + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1 +fi +case "$1" in + -patch) + patch $pdir -f --no-backup-if-mismatch -p0 < $0 + ;; + -unpatch) + patch $pdir -f --no-backup-if-mismatch -R -p0 < $0 + ;; + *) + echo >&2 "`basename $0`: script expects -patch|-unpatch as argument" + exit 1 +esac +exit 0 + +--- gcc/testsuite/ada/acats/run_acats~ ++++ gcc/testsuite/ada/acats/run_acats 2006-04-22 08:57:50.933824704 +0200 +@@ -11,23 +11,42 @@ + host_gnatmake=`type gnatmake | awk '{print $3}'` + ROOT=`${PWDCMD-pwd}` + BASE=`cd $ROOT/../../..; ${PWDCMD-pwd}` +- +-PATH=$BASE:$ROOT:$PATH +-ADA_INCLUDE_PATH=$BASE/ada/rts ++GNATTOOLS=`cd $BASE/../gnattools; ${PWDCMD-pwd}` ++LIBGNATVSN=`cd $BASE/../libgnatvsn; ${PWDCMD-pwd}` ++LIBGNATPRJ=`cd $BASE/../libgnatprj; ${PWDCMD-pwd}` ++ ++PATH=$GNATTOOLS:$BASE:$ROOT:$PATH ++ADA_INCLUDE_DIR=$BASE/ada/rts ++ADA_INCLUDE_PATH=$ADA_INCLUDE_DIR:$LIBGNATVSN:$LIBGNATPRJ + LD_LIBRARY_PATH=$ADA_INCLUDE_PATH:$BASE:$LD_LIBRARY_PATH + ADA_OBJECTS_PATH=$ADA_INCLUDE_PATH + +-if [ ! -d $ADA_INCLUDE_PATH ]; then ++if [ ! -d $ADA_INCLUDE_DIR ]; then + echo gnatlib missing, exiting. + exit 1 + fi + +-if [ ! -f $BASE/gnatchop ]; then ++if [ ! -d $GNATTOOLS ]; then ++ echo gnattools missing, exiting. ++ exit 1 ++fi ++ ++if [ ! -d $LIBGNATVSN ]; then ++ echo libgnatvsn missing, exiting. ++ exit 1 ++fi ++ ++if [ ! -d $LIBGNATPRJ ]; then ++ echo libgnatprj missing, exiting. ++ exit 1 ++fi ++ ++if [ ! -f $GNATTOOLS/gnatchop ]; then + echo gnattools missing, exiting. + exit 1 + fi + +-if [ ! -f $BASE/gnatmake ]; then ++if [ ! -f $GNATTOOLS/gnatmake ]; then + echo gnattools missing, |
