summaryrefslogtreecommitdiff
path: root/media-libs/libpipewire/files/pipewire-0.3.25-enable-failed-mlock-warning.patch
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/libpipewire/files/pipewire-0.3.25-enable-failed-mlock-warning.patch')
-rw-r--r--media-libs/libpipewire/files/pipewire-0.3.25-enable-failed-mlock-warning.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/media-libs/libpipewire/files/pipewire-0.3.25-enable-failed-mlock-warning.patch b/media-libs/libpipewire/files/pipewire-0.3.25-enable-failed-mlock-warning.patch
new file mode 100644
index 00000000..bdb43fe5
--- /dev/null
+++ b/media-libs/libpipewire/files/pipewire-0.3.25-enable-failed-mlock-warning.patch
@@ -0,0 +1,12 @@
+diff --git a/src/daemon/pipewire.conf.in b/src/daemon/pipewire.conf.in
+--- a/src/daemon/pipewire.conf.in
++++ b/src/daemon/pipewire.conf.in
+@@ -6,7 +6,7 @@ context.properties = {
+ #support.dbus = true
+ #link.max-buffers = 64
+ link.max-buffers = 16 # version < 3 clients can't handle more
+- #mem.warn-mlock = false
++ mem.warn-mlock = true # Gentoo should have good RLIMITs now
+ #mem.allow-mlock = true
+ #mem.mlock-all = false
+ #clock.power-of-two-quantum = true