diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-01-06 15:27:05 +0800 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2010-01-06 09:31:34 +0100 |
commit | 8212c8228f6e04817e087a151c5659c7876dec2a (patch) | |
tree | 14cf4a60b35b57101b784155c2e5ac4d7f5df4ff /recipes/glibc/glibc_2.9.bb | |
parent | 3eae83257fdf3ddd15bcc4385fcd0edf543c17c7 (diff) | |
download | openembedded-8212c8228f6e04817e087a151c5659c7876dec2a.tar.gz |
glibc_2.9.bb: Apply recent commits to memusage.c as patches
memusage.c will end up as libmemusage.so and the version in glibc 2.9
has the problem to deal badly with wrap arounds. Apply some upstream
fixes to make the situation a bit better.
Diffstat (limited to 'recipes/glibc/glibc_2.9.bb')
-rw-r--r-- | recipes/glibc/glibc_2.9.bb | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/recipes/glibc/glibc_2.9.bb b/recipes/glibc/glibc_2.9.bb index 5751a710e4..b27e0a0824 100644 --- a/recipes/glibc/glibc_2.9.bb +++ b/recipes/glibc/glibc_2.9.bb @@ -5,7 +5,7 @@ ARM_INSTRUCTION_SET = "arm" PACKAGES_DYNAMIC = "libc6*" RPROVIDES_${PN}-dev = "libc6-dev virtual-libc-dev" -PR = "${INC_PR}.2" +PR = "${INC_PR}.3" # the -isystem in bitbake.conf screws up glibc do_stage BUILD_CPPFLAGS = "-I${STAGING_INCDIR_NATIVE}" @@ -68,6 +68,12 @@ SRC_URI = "ftp://ftp.gnu.org/pub/gnu/glibc/glibc-${PV}.tar.bz2 \ file://glibc-2.9-enable-binutils-2.2.patch;patch=1 \ " +# patches to fix libmemusage.so +SRC_URI_append = " file://0001-malloc-memusage.c-update_data-Fix-handling-of-wrappi.patch;patch=1 \ + file://0002-malloc-memusage.c-DEFAULT_BUFFER_SIZE-Change-to-3276.patch;patch=1 \ + file://0003-Fix-wrap-around-in-memusage.patch;patch=1 " + + # Build fails on sh3 and sh4 without additional patches SRC_URI_append_sh3 = " file://no-z-defs.patch;patch=1 \ file://glibc-2.9-sh-fix.patch;patch=1" |