aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/glibc/files/mmap_threshold-bug-650-fix.patch11
-rw-r--r--packages/glibc/glibc_2.3.5+cvs20050627.bb3
2 files changed, 13 insertions, 1 deletions
diff --git a/packages/glibc/files/mmap_threshold-bug-650-fix.patch b/packages/glibc/files/mmap_threshold-bug-650-fix.patch
new file mode 100644
index 0000000000..b9f05dc31f
--- /dev/null
+++ b/packages/glibc/files/mmap_threshold-bug-650-fix.patch
@@ -0,0 +1,11 @@
+--- libc/malloc/malloc.c.orig 2006-05-05 13:19:09.683165034 -0700
++++ libc/malloc/malloc.c 2006-05-05 13:19:32.990818694 -0700
+@@ -1449,7 +1449,7 @@
+ #define M_MMAP_THRESHOLD -3
+
+ #ifndef DEFAULT_MMAP_THRESHOLD
+-#define DEFAULT_MMAP_THRESHOLD (128 * 1024)
++#define DEFAULT_MMAP_THRESHOLD (32 * 1024)
+ #endif
+
+ /*
diff --git a/packages/glibc/glibc_2.3.5+cvs20050627.bb b/packages/glibc/glibc_2.3.5+cvs20050627.bb
index 9c28833916..569569858c 100644
--- a/packages/glibc/glibc_2.3.5+cvs20050627.bb
+++ b/packages/glibc/glibc_2.3.5+cvs20050627.bb
@@ -7,7 +7,7 @@ MAINTAINER = "Phil Blundell <pb@handhelds.org>"
FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/glibc-cvs-2.3.5"
CVSDATE = "20050627"
-PR = "r3"
+PR = "r4"
GLIBC_ADDONS ?= "ports,linuxthreads"
GLIBC_EXTRA_OECONF ?= ""
@@ -54,6 +54,7 @@ SRC_URI = "http://familiar.handhelds.org/source/v0.8.3/stash_libc_sources.redhat
file://fhs-linux-paths.patch;patch=1 \
file://dl-cache-libcmp.patch;patch=1 \
file://ldsocache-varrun.patch;patch=1 \
+ file://mmap_threshold-bug-650-fix.patch;patch=0 \
file://etc/ld.so.conf \
file://generate-supported.mk"