libc/glibc: add patch to avoid caddr_t redefinition

Forward-ported from glibc-2.13.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
scripts: properly restore stdout/err/in at the end

Byt the end of the main script, the log file is being moved and
compressed, and the final destination might become read-only at any
time, so we consign stdout/err to oblivion.

This is incorrect, as some actions after may still fail (out of space,
for example).

So, properly restore stdout/err, but also stdin (useless, but harmless)
instead, so the user has a chance to see the error, especially since it
is not logged into the log file.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
samples: update the alpha samples

Use latest versions where possible, don't use experimental versions.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
samples: update x86-64 samples

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
samples: update sh4 sample

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
samples: update the s390 samples

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
samples: update the bfin sample

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
samples: update the m68k samples

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
samples: update the ix86 samples

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
samples: update ARM big-endian samples

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>