New patches to make glibc 2.6 and 2.6.1 build for Alpha.
Forwarded by Ioannis E. VENETIS.
/trunk/patches/glibc/2.6.1/200-alpha-ptr_mangle.patch | 103 103 0 0 ++++++++
/trunk/patches/glibc/2.6.1/190-alpha-atfcts.patch | 11 11 0 0 +
/trunk/patches/glibc/2.6.1/180-gcc-4.3-sysinclude-path.patch | 50 50 0 0 ++++
/trunk/patches/glibc/2.6.1/210-lll_lock_t.patch | 237 237 0 0 ++++++++++++++++++
/trunk/patches/glibc/2.6/200-alpha-ptr_mangle.patch | 103 103 0 0 ++++++++
/trunk/patches/glibc/2.6/190-alpha-atfcts.patch | 11 11 0 0 +
/trunk/patches/glibc/2.6/180-gcc-4.3-sysinclude-path.patch | 50 50 0 0 ++++
/trunk/patches/glibc/2.6/210-lll_lock_t.patch | 237 237 0 0 ++++++++++++++++++
/trunk/patches/glibc/ports-2.6.1/120-lll_lock_t.patch | 156 156 0 0 ++++++++++++
9 files changed, 958 insertions(+)
1 Matthias Kaehlcke <matthias at kaehlcke dot net> writes:
3 A compilation of an ARM toolchain with glibc 2.7 using crosstool-ng
4 failed with a gcc error in glibc-2.7/posix/regex_internal.c, more
5 concretly in the function build_wcs_upper_buffer(). The return type of
6 the function prototype in regex_internal.h doesn't correspond with the
7 return type of this function in regex_internal.c.
9 The attached patch corrects the return type of the function prototype
12 --- glibc-2.7/posix/regex_internal.h.org 2008-05-30 11:16:01.000000000 +0200
13 +++ glibc-2.7/posix/regex_internal.h 2008-05-30 11:16:35.000000000 +0200
16 # ifdef RE_ENABLE_I18N
17 static void build_wcs_buffer (re_string_t *pstr) internal_function;
18 -static int build_wcs_upper_buffer (re_string_t *pstr) internal_function;
19 +static reg_errcode_t build_wcs_upper_buffer (re_string_t *pstr) internal_function;
20 # endif /* RE_ENABLE_I18N */
21 static void build_upper_buffer (re_string_t *pstr) internal_function;
22 static void re_string_translate_buffer (re_string_t *pstr) internal_function;