aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain-layer/recipes-core/eglibc/eglibc-2.12/IO-acquire-lock-fix.patch
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2012-03-27 18:27:32 -0700
committerKhem Raj <raj.khem@gmail.com>2012-03-29 23:12:24 -0700
commit6460fe3a04e1c4ddb1fae09ef4d32dcfbf42a211 (patch)
tree093c1fab24994b23f1f73f98dced8008c0c29c4c /toolchain-layer/recipes-core/eglibc/eglibc-2.12/IO-acquire-lock-fix.patch
parent4b7b80bfb3e3cc290cf92c9c029d1325a75817d1 (diff)
downloadmeta-openembedded-contrib-6460fe3a04e1c4ddb1fae09ef4d32dcfbf42a211.tar.gz
eglibc-2.12: Move to toolchain-layer
Its relevant in toolchain layer Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'toolchain-layer/recipes-core/eglibc/eglibc-2.12/IO-acquire-lock-fix.patch')
-rw-r--r--toolchain-layer/recipes-core/eglibc/eglibc-2.12/IO-acquire-lock-fix.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/toolchain-layer/recipes-core/eglibc/eglibc-2.12/IO-acquire-lock-fix.patch b/toolchain-layer/recipes-core/eglibc/eglibc-2.12/IO-acquire-lock-fix.patch
new file mode 100644
index 0000000000..46b1584fa6
--- /dev/null
+++ b/toolchain-layer/recipes-core/eglibc/eglibc-2.12/IO-acquire-lock-fix.patch
@@ -0,0 +1,17 @@
+Upstream-Status: Pending
+
+import http://sourceware.org/ml/libc-ports/2007-12/msg00000.html
+
+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)