glibc 2.5: stage correct sigthreads.h
authorKoen Kooi <koen@openembedded.org>
Fri, 20 Oct 2006 13:14:36 +0000 (13:14 +0000)
committerKoen Kooi <koen@openembedded.org>
Fri, 20 Oct 2006 13:14:36 +0000 (13:14 +0000)
* fixes mysql compilation
* spotted by 'nicolasfr' in #oe

packages/glibc/glibc_2.5.bb

index a76f177..0afadad 100644 (file)
@@ -3,9 +3,7 @@ HOMEPAGE = "http://www.gnu.org/software/libc/libc.html"
 LICENSE = "LGPL"
 SECTION = "libs"
 PRIORITY = "required"
-PR = "r1"
-
-DEFAULT_PREFERENCE = "-1"
+PR = "r2"
 
 # the -isystem in bitbake.conf screws up glibc do_stage
 BUILD_CPPFLAGS = "-I${STAGING_DIR}/${BUILD_SYS}/include"
@@ -103,6 +101,7 @@ do_munge() {
        # quick way to get this cruft to compile
        rm -rf ${S}/ports/sysdeps/unix/sysv/linux/arm/linuxthreads
        ln -s nptl ${S}/ports/sysdeps/unix/sysv/linux/arm/linuxthreads
+       cp ${S}/nptl/sysdeps/pthread/bits/sigthread.h ${S}/ports/sysdeps/unix/sysv/linux/arm/bits/
        cp ${S}/sysdeps/unix/sysv/linux/i386/bits/wchar.h ${S}/ports/sysdeps/unix/sysv/linux/arm/bits/
        cp ${S}/sysdeps/wordsize-32/bits/wordsize.h ${S}/ports/sysdeps/unix/sysv/linux/arm/bits/
        cp ${WORKDIR}/generic-bits_select.h ${S}/ports/sysdeps/unix/sysv/linux/arm/bits/select.h