patches/glibc/2.2.3/errlist-1.9.patch
changeset 330 447b203edc2e
parent 329 419d959441ed
child 331 0c05f9ea3254
     1.1 --- a/patches/glibc/2.2.3/errlist-1.9.patch	Tue Aug 14 19:32:22 2007 +0000
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,30 +0,0 @@
     1.4 -Fixes:
     1.5 -
     1.6 -../sysdeps/unix/sysv/linux/errlist.c:41: weak declaration of `_old_sys_nerr' must precede definition
     1.7 -make[2]: *** [/home/dank/downloads/crosstool-0.24/build/mipsel-unknown-linux-gnu/gcc-3.2.3-glibc-2.2.3/build-glibc/stdio-common/errlist.os] Error 1
     1.8 -
     1.9 -===================================================================
    1.10 -RCS file: /cvs/glibc/libc/sysdeps/unix/sysv/linux/Attic/errlist.c,v
    1.11 -retrieving revision 1.8
    1.12 -retrieving revision 1.9
    1.13 -diff -u -r1.8 -r1.9
    1.14 ---- libc/sysdeps/unix/sysv/linux/errlist.c	2001/07/06 04:56:12	1.8
    1.15 -+++ libc/sysdeps/unix/sysv/linux/errlist.c	2002/05/20 06:56:53	1.9
    1.16 -@@ -1,4 +1,4 @@
    1.17 --/* Copyright (C) 1998, 2000 Free Software Foundation, Inc.
    1.18 -+/* Copyright (C) 1998, 2000, 2002 Free Software Foundation, Inc.
    1.19 -    This file is part of the GNU C Library.
    1.20 - 
    1.21 -    The GNU C Library is free software; you can redistribute it and/or
    1.22 -@@ -38,10 +38,9 @@
    1.23 - const int __old_sys_nerr = OLD_ERRLIST_SIZE;
    1.24 - 
    1.25 - strong_alias (__old_sys_nerr, _old_sys_nerr);
    1.26 --weak_alias (__old_sys_nerr, _old_sys_nerr)
    1.27 - compat_symbol (libc, __old_sys_nerr, _sys_nerr, GLIBC_2_0);
    1.28 - compat_symbol (libc, _old_sys_nerr, sys_nerr, GLIBC_2_0);
    1.29 --weak_alias (__old_sys_errlist, _old_sys_errlist);
    1.30 -+strong_alias (__old_sys_errlist, _old_sys_errlist);
    1.31 - compat_symbol (libc, __old_sys_errlist, _sys_errlist, GLIBC_2_0);
    1.32 - compat_symbol (libc, _old_sys_errlist, sys_errlist, GLIBC_2_0);
    1.33 - #endif