kumquat-buildroot/package/pipewire/0003-rtkit-use-_gettid-instead-of-getpid-in-fallback.patch
Fabrice Fontaine 3ccd3b4c38 package/pipewire: bump to version 0.3.32
- Drop second patch (already in version)
- Update license:
  31d79f4c9b
- avahi is an optional dependency since
  6744934734
- libusb is an optional dependency since
  5e0b63b149
- pulseaudio is an optional dependency since
  44f326013b
- webrtc-audio-processing is an optional dependency since
  d95870d8d3
- Fix a build failure without C++ thanks to
  d95870d8d3

https://gitlab.freedesktop.org/pipewire/pipewire/-/blob/0.3.32/NEWS

Fixes:
 - http://autobuild.buildroot.org/results/20cd863cb3c83b85900e80de02d485b780288330

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2021-07-25 15:06:54 +02:00

29 lines
913 B
Diff

From a4b8bd6d5292c13c0e14db54d4b5819a2bbf066d Mon Sep 17 00:00:00 2001
From: Wim Taymans <wtaymans@redhat.com>
Date: Tue, 20 Jul 2021 17:13:26 +0200
Subject: [PATCH] rtkit: use _gettid() instead of getpid() in fallback
[Retrieved from:
https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/a4b8bd6d5292c13c0e14db54d4b5819a2bbf066d]
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
src/modules/module-rtkit.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/modules/module-rtkit.c b/src/modules/module-rtkit.c
index 419e4be81..1f13aa371 100644
--- a/src/modules/module-rtkit.c
+++ b/src/modules/module-rtkit.c
@@ -592,7 +592,7 @@ static pid_t impl_gettid(struct impl *impl, pthread_t pt)
if ((thr = find_thread_by_pt(impl, pt)) != NULL)
pid = thr->pid;
else
- pid = getpid();
+ pid = _gettid();
pthread_mutex_unlock(&impl->lock);
return pid;
--
GitLab