commit:     6798bf035f8fb7a2688a0f824568fe1bea17fadb
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 19 01:17:54 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Sep 19 01:18:29 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6798bf03

media-video/pipewire: add missing include patch to 0.3.36

Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../files/pipewire-0.3.36-missing-limits-include.patch  | 17 +++++++++++++++++
 media-video/pipewire/pipewire-0.3.36.ebuild             |  1 +
 2 files changed, 18 insertions(+)

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
new file mode 100644
index 00000000000..c7ed7b973a9
--- /dev/null
+++ b/media-video/pipewire/files/pipewire-0.3.36-missing-limits-include.patch
@@ -0,0 +1,17 @@
+https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/6168067cb2a45ffa3c92aff1135659feaf9c1240
+
+From: Leonardo Neumann <[email protected]>
+Date: Sat, 18 Sep 2021 04:36:20 -0300
+Subject: [PATCH] fix missing limits.h include
+
+--- a/src/pipewire/impl-module.c
++++ b/src/pipewire/impl-module.c
+@@ -28,6 +28,7 @@
+ #include <stdio.h>
+ #include <dlfcn.h>
+ #include <dirent.h>
++#include <limits.h>
+ #include <sys/stat.h>
+ #include <errno.h>
+ 
+GitLab

diff --git a/media-video/pipewire/pipewire-0.3.36.ebuild 
b/media-video/pipewire/pipewire-0.3.36.ebuild
index 727450ab578..255220766c0 100644
--- a/media-video/pipewire/pipewire-0.3.36.ebuild
+++ b/media-video/pipewire/pipewire-0.3.36.ebuild
@@ -98,6 +98,7 @@ PATCHES=(
        "${FILESDIR}"/${PN}-0.3.25-enable-failed-mlock-warning.patch
        "${FILESDIR}"/${P}-fix-crash-uaf-media-session.patch
        "${FILESDIR}"/${P}-fix-version.patch
+       "${FILESDIR}"/${P}-missing-limits-include.patch
 )
 
 # limitsdfile related code taken from =sys-auth/realtime-base-0.1

Reply via email to