aboutsummaryrefslogtreecommitdiffstats
path: root/packages/glibc
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.ne>2006-04-09 19:39:12 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2006-04-09 19:39:12 +0000
commit7d925c9514d31282b321cd7776f88e43e5026ee5 (patch)
tree50723f45fc008925d9a38dfa33178bbc11c62e68 /packages/glibc
parent2bf5e61a499e066782b20d860bf49d630f90b5b3 (diff)
downloadopenembedded-7d925c9514d31282b321cd7776f88e43e5026ee5.tar.gz
glibc-2.3.5: add mips rlimit rtprio fix
Diffstat (limited to 'packages/glibc')
-rw-r--r--packages/glibc/files/fix_mips_rlimit_rtprio.patch12
-rw-r--r--packages/glibc/glibc_2.3.5+cvs20050627.bb3
-rw-r--r--packages/glibc/glibc_2.3.5+cvs20051107.bb3
3 files changed, 16 insertions, 2 deletions
diff --git a/packages/glibc/files/fix_mips_rlimit_rtprio.patch b/packages/glibc/files/fix_mips_rlimit_rtprio.patch
new file mode 100644
index 0000000000..5c58cc8361
--- /dev/null
+++ b/packages/glibc/files/fix_mips_rlimit_rtprio.patch
@@ -0,0 +1,12 @@
+diff -Naur sysdeps/unix/sysv/linux/mips/bits/resource.h sysdeps_fixed/unix/sysv/linux/mips/bits/resource.h
+--- libc/sysdeps/unix/sysv/linux/mips/bits/resource.h 2005-06-20 17:07:34.000000000 +0200
++++ libc/sysdeps_fixed/unix/sysv/linux/mips/bits/resource.h 2006-04-08 18:48:58.000000000 +0200
+@@ -98,7 +98,7 @@
+ /* Maximum realtime priority allowed for non-priviledged
+ processes. */
+ __RLIMIT_RTPRIO = 14,
+-#define RLIMIT_RTPRIO _RLIMIT_RTPRIO
++#define RLIMIT_RTPRIO __RLIMIT_RTPRIO
+
+ __RLIMIT_NLIMITS = 15,
+ __RLIM_NLIMITS = __RLIMIT_NLIMITS
diff --git a/packages/glibc/glibc_2.3.5+cvs20050627.bb b/packages/glibc/glibc_2.3.5+cvs20050627.bb
index 39117d4969..b2b7fe352a 100644
--- a/packages/glibc/glibc_2.3.5+cvs20050627.bb
+++ b/packages/glibc/glibc_2.3.5+cvs20050627.bb
@@ -51,7 +51,8 @@ SRC_URI = "cvs://anoncvs@sources.redhat.com/cvs/glibc;module=libc \
file://dl-cache-libcmp.patch;patch=1 \
file://ldsocache-varrun.patch;patch=1 \
file://etc/ld.so.conf \
- file://generate-supported.mk"
+ file://generate-supported.mk \
+ file://fix_mips_rlimit_rtprio.patch;patch=1;pnum=1"
# seems to fail on tls platforms
SRC_URI_append_arm = " file://dyn-ldconfig-20041128.patch;patch=1"
diff --git a/packages/glibc/glibc_2.3.5+cvs20051107.bb b/packages/glibc/glibc_2.3.5+cvs20051107.bb
index 61167928d2..fd29ad5034 100644
--- a/packages/glibc/glibc_2.3.5+cvs20051107.bb
+++ b/packages/glibc/glibc_2.3.5+cvs20051107.bb
@@ -42,7 +42,8 @@ SRC_URI = "cvs://anoncvs@sources.redhat.com/cvs/glibc;module=libc \
file://etc/ld.so.conf \
file://generate-supported.mk \
file://glibc-20051107-remap_update-1.patch;patch=1;pnum=1 \
- file://glibc-20051107-localedef_segfault-1.patch;patch=1;pnum=1"
+ file://glibc-20051107-localedef_segfault-1.patch;patch=1;pnum=1 \
+ file://fix_mips_rlimit_rtprio.patch;patch=1;pnum=1"
def get_nptl_patches(bb, d):
if bb.data.getVar('GLIBC_ADDONS', d, 1) in ['nptl']: