diff options
Diffstat (limited to 'media-sound/alsa-utils/files')
-rw-r--r-- | media-sound/alsa-utils/files/alsa-utils-1.0.21-init_default.patch | 12 | ||||
-rw-r--r-- | media-sound/alsa-utils/files/alsa-utils-1.0.21-modprobe.d.patch | 12 |
2 files changed, 24 insertions, 0 deletions
diff --git a/media-sound/alsa-utils/files/alsa-utils-1.0.21-init_default.patch b/media-sound/alsa-utils/files/alsa-utils-1.0.21-init_default.patch new file mode 100644 index 000000000000..4127f184116d --- /dev/null +++ b/media-sound/alsa-utils/files/alsa-utils-1.0.21-init_default.patch @@ -0,0 +1,12 @@ +diff -ur alsa-utils-1.0.21.orig/alsactl/init/default alsa-utils-1.0.21/alsactl/init/default +--- alsa-utils-1.0.21.orig/alsactl/init/default 2009-05-06 10:07:24.000000000 +0300 ++++ alsa-utils-1.0.21/alsactl/init/default 2009-08-17 22:29:46.000000000 +0300 +@@ -49,7 +49,7 @@ + CTL{name}="Headphone Playback Volume",PROGRAM=="__ctl_search",GOTO="headphone0_end" + # if master volume control is present, turn headphone volume to max + ENV{has_pmaster_vol}=="true",CTL{values}="0dB",RESULT=="0",GOTO="headphone0_end" +-ENV{has_pmaster_vol}=="true",CTL{values)="100%",GOTO="headphone0_end" ++ENV{has_pmaster_vol}=="true",CTL{values}="100%",GOTO="headphone0_end" + CTL{values}="$env{pvolume}",RESULT!="0",CTL{values}="$env{ppercent}" + LABEL="headphone0_end" + CTL{name}="Headphone Playback Switch",PROGRAM=="__ctl_search", \ diff --git a/media-sound/alsa-utils/files/alsa-utils-1.0.21-modprobe.d.patch b/media-sound/alsa-utils/files/alsa-utils-1.0.21-modprobe.d.patch new file mode 100644 index 000000000000..cea272469dd9 --- /dev/null +++ b/media-sound/alsa-utils/files/alsa-utils-1.0.21-modprobe.d.patch @@ -0,0 +1,12 @@ +diff -ur alsa-utils-1.0.21.orig/alsaconf/alsaconf.in alsa-utils-1.0.21/alsaconf/alsaconf.in +--- alsa-utils-1.0.21.orig/alsaconf/alsaconf.in 2009-05-06 10:07:24.000000000 +0300 ++++ alsa-utils-1.0.21/alsaconf/alsaconf.in 2009-08-04 12:36:38.000000000 +0300 +@@ -301,7 +301,7 @@ + fi + else + if [ "$distribution" = "gentoo" ]; then +- cfgfile="/etc/modules.d/alsa" ++ cfgfile="/etc/modprobe.d/alsa.conf" + elif [ "$kernel" = "new" ]; then + cfgfile="/etc/modprobe.conf" + if [ -d /etc/modprobe.d ]; then |