1 |
commit: 6798bf035f8fb7a2688a0f824568fe1bea17fadb |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Sep 19 01:17:54 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 19 01:18:29 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6798bf03 |
7 |
|
8 |
media-video/pipewire: add missing include patch to 0.3.36 |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
.../files/pipewire-0.3.36-missing-limits-include.patch | 17 +++++++++++++++++ |
13 |
media-video/pipewire/pipewire-0.3.36.ebuild | 1 + |
14 |
2 files changed, 18 insertions(+) |
15 |
|
16 |
diff --git a/media-video/pipewire/files/pipewire-0.3.36-missing-limits-include.patch b/media-video/pipewire/files/pipewire-0.3.36-missing-limits-include.patch |
17 |
new file mode 100644 |
18 |
index 00000000000..c7ed7b973a9 |
19 |
--- /dev/null |
20 |
+++ b/media-video/pipewire/files/pipewire-0.3.36-missing-limits-include.patch |
21 |
@@ -0,0 +1,17 @@ |
22 |
+https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/6168067cb2a45ffa3c92aff1135659feaf9c1240 |
23 |
+ |
24 |
+From: Leonardo Neumann <leonardo@×××××××××××.br> |
25 |
+Date: Sat, 18 Sep 2021 04:36:20 -0300 |
26 |
+Subject: [PATCH] fix missing limits.h include |
27 |
+ |
28 |
+--- a/src/pipewire/impl-module.c |
29 |
++++ b/src/pipewire/impl-module.c |
30 |
+@@ -28,6 +28,7 @@ |
31 |
+ #include <stdio.h> |
32 |
+ #include <dlfcn.h> |
33 |
+ #include <dirent.h> |
34 |
++#include <limits.h> |
35 |
+ #include <sys/stat.h> |
36 |
+ #include <errno.h> |
37 |
+ |
38 |
+GitLab |
39 |
|
40 |
diff --git a/media-video/pipewire/pipewire-0.3.36.ebuild b/media-video/pipewire/pipewire-0.3.36.ebuild |
41 |
index 727450ab578..255220766c0 100644 |
42 |
--- a/media-video/pipewire/pipewire-0.3.36.ebuild |
43 |
+++ b/media-video/pipewire/pipewire-0.3.36.ebuild |
44 |
@@ -98,6 +98,7 @@ PATCHES=( |
45 |
"${FILESDIR}"/${PN}-0.3.25-enable-failed-mlock-warning.patch |
46 |
"${FILESDIR}"/${P}-fix-crash-uaf-media-session.patch |
47 |
"${FILESDIR}"/${P}-fix-version.patch |
48 |
+ "${FILESDIR}"/${P}-missing-limits-include.patch |
49 |
) |
50 |
|
51 |
# limitsdfile related code taken from =sys-auth/realtime-base-0.1 |