diff --git a/patches/binutils-2.9.1/01_fix_gcc_4.4_errors.diff b/patches/binutils-2.9.1/01_fix_gcc_4.4_errors.diff index a997c66..4d478f4 100644 --- a/patches/binutils-2.9.1/01_fix_gcc_4.4_errors.diff +++ b/patches/binutils-2.9.1/01_fix_gcc_4.4_errors.diff @@ -85,8 +85,9 @@ @@ -463,7 +464,7 @@ #else - extern int sys_nerr; +-extern int sys_nerr; -extern char *sys_errlist[]; ++extern const int sys_nerr; +extern const char *const sys_errlist[]; #endif diff --git a/patches/gcc-2.95.3/01_fix_gcc_4.4_errors.diff b/patches/gcc-2.95.3/01_fix_gcc_4.4_errors.diff index 2971ddb..84f7c3d 100644 --- a/patches/gcc-2.95.3/01_fix_gcc_4.4_errors.diff +++ b/patches/gcc-2.95.3/01_fix_gcc_4.4_errors.diff @@ -23,8 +23,9 @@ @@ -463,7 +464,7 @@ #else - extern int sys_nerr; +-extern int sys_nerr; -extern char *sys_errlist[]; ++extern const int sys_nerr; +extern const char *const sys_errlist[]; #endif