summaryrefslogtreecommitdiff
path: root/packages/zaurusd/files/disable-alsa-handling.patch
diff options
context:
space:
mode:
authorMatthias Hentges <oe@hentges.net>2007-05-21 22:16:18 +0000
committerMatthias Hentges <oe@hentges.net>2007-05-21 22:16:18 +0000
commite41356a01c62f1340f6b444f129762595060e58a (patch)
tree03e71d2ce833767b7a9ae0d32a314ac5df44f32b /packages/zaurusd/files/disable-alsa-handling.patch
parent12f0049d7ed281f654b92f447592da06f198239f (diff)
zaurusd: Disable handling of alsa state files
Diffstat (limited to 'packages/zaurusd/files/disable-alsa-handling.patch')
-rw-r--r--packages/zaurusd/files/disable-alsa-handling.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/packages/zaurusd/files/disable-alsa-handling.patch b/packages/zaurusd/files/disable-alsa-handling.patch
new file mode 100644
index 0000000000..8f1879db60
--- /dev/null
+++ b/packages/zaurusd/files/disable-alsa-handling.patch
@@ -0,0 +1,16 @@
+--- zaurusd/config/config.in.orig 2007-05-21 21:58:14.000000000 +0000
++++ zaurusd/config/config.in 2007-05-21 22:10:26.000000000 +0000
+@@ -11,11 +11,5 @@
+ . @appconfdir@/mach-config-vars
+ . @appconfdir@/mach-config-funcs
+
+-if [ "x$HAVE_ALSA_MIXER" != "x" -a "x$ALSA_MIXER_INIT" != "x" ]; then
+- if [ ! -e /etc/asound.state ]; then
+- cp $ALSA_MIXER_INIT /etc/asound.state
+- @sbindir@/alsactl restore
+- fi
+-fi
+
+-export SWITCHEVD_EVENT_SCRIPT=@appconfdir@/scripts/switch-event
+\ No newline at end of file
++export SWITCHEVD_EVENT_SCRIPT=@appconfdir@/scripts/switch-event