patches/gcc/3.3.4/gcc-3.3.4-trap-posix.patch
changeset 330 447b203edc2e
parent 329 419d959441ed
child 331 0c05f9ea3254
     1.1 --- a/patches/gcc/3.3.4/gcc-3.3.4-trap-posix.patch	Tue Aug 14 19:32:22 2007 +0000
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,44 +0,0 @@
     1.4 -# 
     1.5 -# Submitted-By: Marc Kleine-Budde <mkl@pengutronix.de>, 2005-04-20
     1.6 -#
     1.7 -# Error:
     1.8 -#
     1.9 -# creating libintl.h
    1.10 -# Configuring etc...
    1.11 -# loading cache ../config.cache
    1.12 -# checking for a BSD compatible install... (cached) /usr/bin/install -c
    1.13 -# creating ./config.status
    1.14 -# creating Makefile
    1.15 -# trap: usage: trap [-lp] [[arg] signal_spec ...]
    1.16 -#
    1.17 -# Description:
    1.18 -#
    1.19 -# non-posix conform usage of trap causes bash >= 3.0 to fail
    1.20 -# e.g.: http://sourceware.org/ml/crossgcc/2004-12/msg00132.html
    1.21 -#
    1.22 -# Status:
    1.23 -#
    1.24 -# fixed in gcc >= 3.3.5
    1.25 -# backport of gcc-3.3.5 fix
    1.26 -#
    1.27 -diff -ruN gcc-3.3.4-orig/configure gcc-3.3.4/configure
    1.28 ---- gcc-3.3.4-orig/configure	2002-09-29 18:11:24.000000000 +0200
    1.29 -+++ gcc-3.3.4/configure	2005-04-20 21:11:30.000000000 +0200
    1.30 -@@ -697,7 +697,7 @@
    1.31 - if test -f skip-this-dir; then
    1.32 - 	# Perform the same cleanup as the trap handler, minus the "exit 1" of course,
    1.33 - 	# and reset the trap handler.
    1.34 --	trap 0
    1.35 -+	trap '' 0
    1.36 - 	rm -rf Makefile* ${tmpdir}
    1.37 - 	# Execute the final clean-up actions
    1.38 - 	${config_shell} skip-this-dir
    1.39 -@@ -1596,7 +1596,7 @@
    1.40 - # Perform the same cleanup as the trap handler, minus the "exit 1" of course,
    1.41 - # and reset the trap handler.
    1.42 - rm -rf ${tmpdir}
    1.43 --trap 0
    1.44 -+trap '' 0
    1.45 - 
    1.46 - exit 0
    1.47 -