pmaports/temp/alsa-utils/alsaconf.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

12 lines
573 B
Diff

diff -Naur alsa-utils-1.0.9a-orig/alsaconf/alsaconf.in alsa-utils-1.0.9a/alsaconf/alsaconf.in
--- alsa-utils-1.0.9a-orig/alsaconf/alsaconf.in 2005-03-24 00:24:52.000000000 -0800
+++ alsa-utils-1.0.9a/alsaconf/alsaconf.in 2005-07-18 09:25:02.000000000 -0700
@@ -65,6 +58,8 @@
distribution="redhat"
elif test -f /etc/fedora-release && grep -q "Fedora" /etc/fedora-release; then
distribution="fedora"
+elif test -f /etc/alpine-release; then
+ distribution="alpine"
elif [ -f /etc/slackware-version -o -f /etc/slamd64-version ]; then
distribution="slackware"
else