summaryrefslogtreecommitdiff
path: root/meta/recipes-core/eglibc/eglibc-2.13/IO-acquire-lock-fix.patch
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2011-04-30 13:41:51 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-05-05 11:54:46 +0100
commit31e12439ec7db3e50bfdc2c86d074891e3231ba5 (patch)
tree07cc0a097f15427bb15ef610b8b6c3e84da1991f /meta/recipes-core/eglibc/eglibc-2.13/IO-acquire-lock-fix.patch
parentc7cc702faadd2eada16bd8b7bcae1f28295bee94 (diff)
downloadopenembedded-core-31e12439ec7db3e50bfdc2c86d074891e3231ba5.tar.gz
openembedded-core-31e12439ec7db3e50bfdc2c86d074891e3231ba5.tar.bz2
openembedded-core-31e12439ec7db3e50bfdc2c86d074891e3231ba5.tar.xz
openembedded-core-31e12439ec7db3e50bfdc2c86d074891e3231ba5.zip
eglibc-2.13: Add recipes for eglibc 2.13
Add patch to correct fstack-protector configure check Document all patches for eglibc 2.13 Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta/recipes-core/eglibc/eglibc-2.13/IO-acquire-lock-fix.patch')
-rw-r--r--meta/recipes-core/eglibc/eglibc-2.13/IO-acquire-lock-fix.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/meta/recipes-core/eglibc/eglibc-2.13/IO-acquire-lock-fix.patch b/meta/recipes-core/eglibc/eglibc-2.13/IO-acquire-lock-fix.patch
new file mode 100644
index 000000000..7bfb67c68
--- /dev/null
+++ b/meta/recipes-core/eglibc/eglibc-2.13/IO-acquire-lock-fix.patch
@@ -0,0 +1,17 @@
+import http://sourceware.org/ml/libc-ports/2007-12/msg00000.html
+
+Upstream-status: Pending
+
+Index: libc/bits/stdio-lock.h
+===================================================================
+--- libc.orig/bits/stdio-lock.h 2009-10-28 14:34:19.000000000 -0700
++++ libc/bits/stdio-lock.h 2009-10-28 14:34:54.000000000 -0700
+@@ -50,6 +50,8 @@ __libc_lock_define_recursive (typedef, _
+ _IO_cleanup_region_start ((void (*) (void *)) _IO_funlockfile, (_fp)); \
+ _IO_flockfile (_fp)
+
++# define _IO_acquire_lock_clear_flags2(_fp) _IO_acquire_lock (_fp)
++
+ # define _IO_release_lock(_fp) \
+ _IO_funlockfile (_fp); \
+ _IO_cleanup_region_end (0)