summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/glibc/glibc/0004-Backport-https-sourceware.org-ml-libc-ports-2007-12-.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/glibc/glibc/0004-Backport-https-sourceware.org-ml-libc-ports-2007-12-.patch')
-rw-r--r--meta/recipes-core/glibc/glibc/0004-Backport-https-sourceware.org-ml-libc-ports-2007-12-.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/meta/recipes-core/glibc/glibc/0004-Backport-https-sourceware.org-ml-libc-ports-2007-12-.patch b/meta/recipes-core/glibc/glibc/0004-Backport-https-sourceware.org-ml-libc-ports-2007-12-.patch
new file mode 100644
index 0000000000..748750304f
--- /dev/null
+++ b/meta/recipes-core/glibc/glibc/0004-Backport-https-sourceware.org-ml-libc-ports-2007-12-.patch
@@ -0,0 +1,34 @@
1From 2560b564b5674bf2990e5607f6342c1647a5dc4f Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sun, 8 Mar 2015 04:01:01 +0000
4Subject: [PATCH 04/27] Backport
5 https://sourceware.org/ml/libc-ports/2007-12/msg00000.html
6
7Upstream-Status: Pending
8
92007-12-03 Kristian Van Der Vliet <vanders@liqwyd.com>
10
11 * bits/stdio-lock.h (_IO_acquire_lock_clear_flags2): Define
12
13Signed-off-by: Kristian Van Der Vliet <vanders@liqwyd.com>
14Signed-off-by: Khem Raj <raj.khem@gmail.com>
15---
16 bits/stdio-lock.h | 2 ++
17 1 file changed, 2 insertions(+)
18
19diff --git a/bits/stdio-lock.h b/bits/stdio-lock.h
20index 0c5bb65..66304a6 100644
21--- a/bits/stdio-lock.h
22+++ b/bits/stdio-lock.h
23@@ -49,6 +49,8 @@ __libc_lock_define_recursive (typedef, _IO_lock_t)
24 _IO_cleanup_region_start ((void (*) (void *)) _IO_funlockfile, (_fp)); \
25 _IO_flockfile (_fp)
26
27+# define _IO_acquire_lock_clear_flags2(_fp) _IO_acquire_lock (_fp)
28+
29 # define _IO_release_lock(_fp) \
30 _IO_funlockfile (_fp); \
31 _IO_cleanup_region_end (0)
32--
332.1.4
34