arch/mips/functions
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat May 31 17:18:22 2008 +0000 (2008-05-31)
changeset 541 f6110c02fbc1
parent 387 2fa4b675a9a3
permissions -rw-r--r--
Matthias Kaehlcke <matthias at kaehlcke dot net> writes:

A compilation of an ARM toolchain with glibc 2.7 using crosstool-ng
failed with a gcc error in glibc-2.7/posix/regex_internal.c, more
concretly in the function build_wcs_upper_buffer(). The return type of
the function prototype in regex_internal.h doesn't correspond with the
return type of this function in regex_internal.c.

The attached patch corrects the return type of the function prototype
in regex_internal.h

/trunk/patches/glibc/2.7/180-glibc-2.7-build_wcs_upper_buffer.patch | 22 22 0 0 +++++++++++
1 file changed, 22 insertions(+)
yann@383
     1
# Compute IA-64-specific values
yann@383
     2
yann@383
     3
CT_DoArchValues() {
yann@383
     4
    # The architecture part of the tuple:
yann@383
     5
    CT_TARGET_ARCH="${CT_ARCH}${target_endian_el}"
yann@499
     6
yann@499
     7
    # Override CFLAGS for endianness:
yann@499
     8
    case "${CT_ARCH_BE},${CT_ARCH_LE}" in
yann@499
     9
        y,) CT_ARCH_ENDIAN_CFLAG="-EB";;
yann@499
    10
        ,y) CT_ARCH_ENDIAN_CFLAG="-EL";;
yann@499
    11
    esac
yann@383
    12
}