summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/eglibc/eglibc-2.18/IO-acquire-lock-fix.patch
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2013-06-26 13:59:01 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-07-05 15:34:26 +0100
commit67c35e1072d4aa52fa1e5406bb3def909452c8b0 (patch)
tree4e5cd7b330a00cd88c3135d7778ea247cd490bdc /meta/recipes-core/eglibc/eglibc-2.18/IO-acquire-lock-fix.patch
parent7450ff24160864bf93804eac6985782a4784e565 (diff)
downloadpoky-67c35e1072d4aa52fa1e5406bb3def909452c8b0.tar.gz
eglibc: Add 2.18 recipes
(From OE-Core rev: 59ae9fc07a6a89492c001de0b3322ecd6d3956be) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/eglibc/eglibc-2.18/IO-acquire-lock-fix.patch')
-rw-r--r--meta/recipes-core/eglibc/eglibc-2.18/IO-acquire-lock-fix.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/meta/recipes-core/eglibc/eglibc-2.18/IO-acquire-lock-fix.patch b/meta/recipes-core/eglibc/eglibc-2.18/IO-acquire-lock-fix.patch
new file mode 100644
index 0000000000..cf5803585c
--- /dev/null
+++ b/meta/recipes-core/eglibc/eglibc-2.18/IO-acquire-lock-fix.patch
@@ -0,0 +1,17 @@
1import http://sourceware.org/ml/libc-ports/2007-12/msg00000.html
2
3Upstream-Status: Pending
4
5Index: libc/bits/stdio-lock.h
6===================================================================
7--- libc.orig/bits/stdio-lock.h 2009-10-28 14:34:19.000000000 -0700
8+++ libc/bits/stdio-lock.h 2009-10-28 14:34:54.000000000 -0700
9@@ -50,6 +50,8 @@ __libc_lock_define_recursive (typedef, _
10 _IO_cleanup_region_start ((void (*) (void *)) _IO_funlockfile, (_fp)); \
11 _IO_flockfile (_fp)
12
13+# define _IO_acquire_lock_clear_flags2(_fp) _IO_acquire_lock (_fp)
14+
15 # define _IO_release_lock(_fp) \
16 _IO_funlockfile (_fp); \
17 _IO_cleanup_region_end (0)