summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/libcap/files
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2020-05-31 17:52:27 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-06-04 13:27:30 +0100
commit42ac4b97b998ad6c5f54564a67c8d5171b0e58dc (patch)
treee7dcf12526c3e8cfc2bac0bfba37253a2f7c248e /meta/recipes-support/libcap/files
parent810f745b520bf1eee0f9c6985fb717993d2b1499 (diff)
downloadpoky-42ac4b97b998ad6c5f54564a67c8d5171b0e58dc.tar.gz
libcap: upgrade 2.33 -> 2.34
(From OE-Core rev: c6bf01bb5e09de205f324211090b52d81323b4ab) Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/libcap/files')
-rw-r--r--meta/recipes-support/libcap/files/0004-psx.c-replace-pthread_yield-with-standard-sched_yiel.patch24
1 files changed, 0 insertions, 24 deletions
diff --git a/meta/recipes-support/libcap/files/0004-psx.c-replace-pthread_yield-with-standard-sched_yiel.patch b/meta/recipes-support/libcap/files/0004-psx.c-replace-pthread_yield-with-standard-sched_yiel.patch
deleted file mode 100644
index 848ceb2c0c..0000000000
--- a/meta/recipes-support/libcap/files/0004-psx.c-replace-pthread_yield-with-standard-sched_yiel.patch
+++ /dev/null
@@ -1,24 +0,0 @@
1From a2c4cdb05d0e382101b13944c09c4375e8d7de5f Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Tue, 31 Mar 2020 13:39:28 +0200
4Subject: [PATCH] psx.c: replace pthread_yield() with standard sched_yield()
5
6This was causing failures when building with musl C library in
7particular.
8
9Upstream-Status: Pending
10Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
11---
12diff --git a/libcap/psx.c b/libcap/psx.c
13index 04d250f..7e4ac10 100644
14--- a/libcap/psx.c
15+++ b/libcap/psx.c
16@@ -533,7 +533,7 @@ long int __psx_syscall(long int syscall_nr, ...) {
17 if (!waiting) {
18 break;
19 }
20- pthread_yield();
21+ sched_yield();
22 }
23
24 errno = restore_errno;