tags 476758 + patch thanks Patch attached.
Regards,
--
Chris Lamb, UK [EMAIL PROTECTED]
GPG: 0x634F9A20
diff -urNad babel-1.2.0.dfsg.orig/bin/babel-cc.in
babel-1.2.0.dfsg/bin/babel-cc.in
--- babel-1.2.0.dfsg.orig/bin/babel-cc.in 2008-04-22 16:22:28.000000000
+0100
+++ babel-1.2.0.dfsg/bin/babel-cc.in 2008-04-22 16:27:04.000000000 +0100
@@ -501,7 +501,7 @@
esac
done
-if test $linkage != static -a $action == link -a $outtype == lib ; then
+if test $linkage != static -a $action = link -a $outtype = lib ; then
if test $has_impl = true; then
args_misc="$args_misc -module -no-undefined"
else
diff -urNad babel-1.2.0.dfsg.orig/bin/babel-cxx.in
babel-1.2.0.dfsg/bin/babel-cxx.in
--- babel-1.2.0.dfsg.orig/bin/babel-cxx.in 2008-04-22 16:22:28.000000000
+0100
+++ babel-1.2.0.dfsg/bin/babel-cxx.in 2008-04-22 16:27:16.000000000 +0100
@@ -500,7 +500,7 @@
esac
done
-if test $linkage != static -a $action == link -a $outtype == lib ; then
+if test $linkage != static -a $action = link -a $outtype = lib ; then
if test $has_impl = true; then
args_misc="$args_misc -module -no-undefined"
else
diff -urNad babel-1.2.0.dfsg.orig/bin/babel-f77.in
babel-1.2.0.dfsg/bin/babel-f77.in
--- babel-1.2.0.dfsg.orig/bin/babel-f77.in 2008-04-22 16:22:28.000000000
+0100
+++ babel-1.2.0.dfsg/bin/babel-f77.in 2008-04-22 16:25:45.000000000 +0100
@@ -501,7 +501,7 @@
esac
done
-if test $linkage != static -a $action == link -a $outtype == lib ; then
+if test $linkage != static -a $action = link -a $outtype == lib ; then
if test $has_impl = true; then
args_misc="$args_misc -module -no-undefined"
else
diff -urNad babel-1.2.0.dfsg.orig/bin/babel-f90.in
babel-1.2.0.dfsg/bin/babel-f90.in
--- babel-1.2.0.dfsg.orig/bin/babel-f90.in 2008-04-22 16:22:28.000000000
+0100
+++ babel-1.2.0.dfsg/bin/babel-f90.in 2008-04-22 16:25:36.000000000 +0100
@@ -535,7 +535,7 @@
esac
done
-if test $linkage != static -a $action == link -a $outtype = lib ; then
+if test $linkage != static -a $action = link -a $outtype = lib ; then
if test $has_impl = true; then
args_misc="$args_misc -module -no-undefined"
else
diff -urNad babel-1.2.0.dfsg.orig/runtime/config/ltmain.sh
babel-1.2.0.dfsg/runtime/config/ltmain.sh
--- babel-1.2.0.dfsg.orig/runtime/config/ltmain.sh 2008-04-22
16:22:28.000000000 +0100
+++ babel-1.2.0.dfsg/runtime/config/ltmain.sh 2008-04-22 16:33:11.000000000
+0100
@@ -159,6 +159,7 @@
if test ! -d "$my_tmpdir"; then
# Failing that, at least try and use $RANDOM to avoid a race
+ RANDOM="$(dd if=/dev/urandom bs=1k count=2 2>/dev/null | cksum | cut
-b-8)
my_tmpdir="${my_template}-${RANDOM-0}$$"
save_mktempdir_umask=`umask`
@@ -826,7 +827,7 @@
fi
$run $rm $removelist
- trap "$run $rm $removelist; exit $EXIT_FAILURE" 1 2 15
+ trap "$run $rm $removelist; exit $EXIT_FAILURE" SIGHUP SIGINT SIGTERM
# On Cygwin there's no "real" PIC flag so we must build both object types
case $host_os in
@@ -845,7 +846,7 @@
output_obj=`$echo "X$srcfile" | $Xsed -e 's%^.*/%%' -e
's%\.[^.]*$%%'`.${objext}
lockfile="$output_obj.lock"
removelist="$removelist $output_obj $lockfile"
- trap "$run $rm $removelist; exit $EXIT_FAILURE" 1 2 15
+ trap "$run $rm $removelist; exit $EXIT_FAILURE" SIGHUP SIGINT SIGTERM
else
output_obj=
need_locks=no
@@ -4911,7 +4912,7 @@
cwrappersource="$output_path/$objdir/lt-$output_name.c"
cwrapper="$output_path/$output_name.exe"
$rm $cwrappersource $cwrapper
- trap "$rm $cwrappersource $cwrapper; exit $EXIT_FAILURE" 1 2 15
+ trap "$rm $cwrappersource $cwrapper; exit $EXIT_FAILURE" SIGHUP
SIGINT SIGTERM
cat > $cwrappersource <<EOF
@@ -5264,7 +5265,7 @@
;;
esac
$rm $output
- trap "$rm $output; exit $EXIT_FAILURE" 1 2 15
+ trap "$rm $output; exit $EXIT_FAILURE" SIGHUP SIGINT SIGTERM
$echo > $output "\
#! $SHELL
signature.asc
Description: PGP signature

