summaryrefslogtreecommitdiff
path: root/meta/recipes-core/eglibc/eglibc-2.13/IO-acquire-lock-fix.patch
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-06-22 23:48:01 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-06-22 23:48:01 +0100
commitb32666e29999c7c698b1a1378f96844fbc48358d (patch)
treeef471569dda31c85787c690c4b3c82ad6e8dfef9 /meta/recipes-core/eglibc/eglibc-2.13/IO-acquire-lock-fix.patch
parent23d0e6a8e4784f667c26ef27fa45bbecc6f69747 (diff)
downloadopenembedded-core-b32666e29999c7c698b1a1378f96844fbc48358d.tar.gz
openembedded-core-b32666e29999c7c698b1a1378f96844fbc48358d.tar.bz2
openembedded-core-b32666e29999c7c698b1a1378f96844fbc48358d.tar.xz
openembedded-core-b32666e29999c7c698b1a1378f96844fbc48358d.zip
Revert "eglibc: Upgrade recipes from 2.13 -> 2.14"
This reverts commit 2a68cf4d315cdd18766de0c75928ff17846a6cd7. 2.14 isn't ready for prime time :( (A load of files no longer seem to get installed for example)
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..cf5803585
--- /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)