patches/glibc/2.2.3/errlist-arm.patch
changeset 1 eeea35fbf182
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/patches/glibc/2.2.3/errlist-arm.patch	Sat Feb 24 11:00:05 2007 +0000
     1.3 @@ -0,0 +1,48 @@
     1.4 +Subject: patch for arm
     1.5 +From: Philip Blundell <Philip dot Blundell at pobox dot com>
     1.6 +To: libc-hacker at sources dot redhat dot com
     1.7 +Content-Type: text/plain
     1.8 +Content-Transfer-Encoding: 7bit
     1.9 +Date: 22 Jul 2002 20:12:06 +0100
    1.10 +Message-Id: <1027365126.725.10.camel@kc>
    1.11 +Mime-Version: 1.0
    1.12 +
    1.13 +The mainline seems to need this patch in order to compile.
    1.14 +
    1.15 +p.
    1.16 +
    1.17 +2002-07-22  Philip Blundell  <philb@gnu.org>
    1.18 +
    1.19 +	* sysdeps/unix/sysv/linux/arm/errlist.c: Remove extra weak alias
    1.20 +	definiton of _old_sys_nerr.  Define _old_sys_errlist as strong
    1.21 +	alias.
    1.22 +
    1.23 +Index: sysdeps/unix/sysv/linux/arm/errlist.c
    1.24 +===================================================================
    1.25 +RCS file: /cvs/glibc/libc/sysdeps/unix/sysv/linux/arm/errlist.c,v
    1.26 +retrieving revision 1.4
    1.27 +diff -u -p -r1.4 errlist.c
    1.28 +--- glibc/sysdeps/unix/sysv/linux/arm/errlist.c	6 Jul 2001 04:56:13 -0000	1.4
    1.29 ++++ glibc/sysdeps/unix/sysv/linux/arm/errlist.c	22 Jul 2002 19:10:57 -0000
    1.30 +@@ -1,4 +1,4 @@
    1.31 +-/* Copyright (C) 1998, 2000 Free Software Foundation, Inc.
    1.32 ++/* Copyright (C) 1998, 2000, 2002 Free Software Foundation, Inc.
    1.33 +    This file is part of the GNU C Library.
    1.34 + 
    1.35 +    The GNU C Library is free software; you can redistribute it and/or
    1.36 +@@ -38,10 +38,9 @@ extern const char *const *__old_sys_errl
    1.37 + const int __old_sys_nerr = OLD_ERRLIST_SIZE;
    1.38 + 
    1.39 + strong_alias (__old_sys_nerr, _old_sys_nerr);
    1.40 +-weak_alias (__old_sys_nerr, _old_sys_nerr)
    1.41 + compat_symbol (libc, __old_sys_nerr, _sys_nerr, GLIBC_2_0);
    1.42 + compat_symbol (libc, _old_sys_nerr, sys_nerr, GLIBC_2_0);
    1.43 +-weak_alias (__old_sys_errlist, _old_sys_errlist);
    1.44 ++strong_alias (__old_sys_errlist, _old_sys_errlist);
    1.45 + compat_symbol (libc, __old_sys_errlist, _sys_errlist, GLIBC_2_0);
    1.46 + compat_symbol (libc, _old_sys_errlist, sys_errlist, GLIBC_2_0);
    1.47 + #endif
    1.48 +
    1.49 +
    1.50 +
    1.51 +