pmaports/temp/alsa-lib/fix-PATH_MAX-on-ppc64le.patch
Clayton Craft 8fd23ece4e
temp/alsa-*: fork from aports and downgrade to 1.2.5 (MR 2734)
alsa-* 1.2.6 breaks audio switching and microphones on several devices,
with some outstanding issues still open upstream.

This 'fork' is meant to be very short-lived, to restore audio on devices
while we figure out how to fix it on 1.2.6.

see: https://gitlab.com/postmarketOS/pmaports/-/issues/1334
2021-12-10 14:08:15 +01:00

15 lines
410 B
Diff

Author: Milan P. Stanić <mps@arvanta.net>
Date: Thu Jun 3 09:08:05 2021 +0000
Fix missing PATH_MAX on ppc64le
--- a/src/ucm/ucm_exec.c 2021-05-27 21:30:16.000000000 +0000
+++ b/src/ucm/ucm_exec.c 2021-06-03 11:37:52.626982547 +0000
@@ -31,6 +31,7 @@
#include <sys/stat.h>
#include <sys/wait.h>
#include <dirent.h>
+#include <limits.h>
static pthread_mutex_t fork_lock = PTHREAD_MUTEX_INITIALIZER;