1 diff -rup gcc-3.4.6.orig//libiberty/cplus-dem.c gcc-3.4.6/libiberty/cplus-dem.c
2 --- gcc-3.4.6.orig//libiberty/cplus-dem.c 2004-01-02 21:33:55.000000000 +0100
3 +++ gcc-3.4.6/libiberty/cplus-dem.c 2010-07-23 14:23:24.816480990 +0200
4 @@ -49,12 +49,12 @@ Boston, MA 02111-1307, USA. */
9 +/*#ifdef HAVE_STDLIB_H*/
19 #undef CURRENT_DEMANGLING_STYLE
20 diff -rup gcc-3.4.6.orig//libiberty/getpwd.c gcc-3.4.6/libiberty/getpwd.c
21 --- gcc-3.4.6.orig//libiberty/getpwd.c 2001-10-07 23:53:31.000000000 +0200
22 +++ gcc-3.4.6/libiberty/getpwd.c 2010-07-23 14:10:09.189729471 +0200
23 @@ -32,13 +32,13 @@ extern int errno;
24 #ifdef HAVE_SYS_PARAM_H
25 #include <sys/param.h>
28 +/*#if HAVE_SYS_STAT_H*/
33 /* Prototype these in case the system headers don't provide them. */
34 -extern char *getpwd ();
35 -extern char *getwd ();
36 +/*extern char *getpwd ();
37 +extern char *getwd ();*/
39 #include "libiberty.h"
41 diff -rup gcc-3.4.6.orig//libiberty/strsignal.c gcc-3.4.6/libiberty/strsignal.c
42 --- gcc-3.4.6.orig//libiberty/strsignal.c 2003-04-15 22:36:33.000000000 +0200
43 +++ gcc-3.4.6/libiberty/strsignal.c 2010-07-23 14:10:09.189729471 +0200
44 @@ -554,7 +554,7 @@ followed by a newline.
49 +/*#ifndef HAVE_PSIGNAL
52 psignal (signo, message)