diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2005-12-22 01:15:01 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2005-12-22 01:15:01 +0000 |
commit | f622a24cb1208a346443384a84e2ca4e2e988ecc (patch) | |
tree | f32864650b1235ce62b6dc1efd3c66b9c026aab7 /media-sound/alsa-driver/files | |
parent | remove gnome from metadata (diff) | |
download | gentoo-2-f622a24cb1208a346443384a84e2ca4e2e988ecc.tar.gz gentoo-2-f622a24cb1208a346443384a84e2ca4e2e988ecc.tar.bz2 gentoo-2-f622a24cb1208a346443384a84e2ca4e2e988ecc.zip |
Add patch to fix build on PPC systems.
(Portage version: 2.1_pre1)
Diffstat (limited to 'media-sound/alsa-driver/files')
-rw-r--r-- | media-sound/alsa-driver/files/alsa-driver-1.0.11_rc1-ppc.patch | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/media-sound/alsa-driver/files/alsa-driver-1.0.11_rc1-ppc.patch b/media-sound/alsa-driver/files/alsa-driver-1.0.11_rc1-ppc.patch new file mode 100644 index 000000000000..f33f9b1325dc --- /dev/null +++ b/media-sound/alsa-driver/files/alsa-driver-1.0.11_rc1-ppc.patch @@ -0,0 +1,40 @@ +Index: alsa-driver-1.0.11rc1/ppc/tumbler.patch +=================================================================== +--- alsa-driver-1.0.11rc1.orig/ppc/tumbler.patch ++++ alsa-driver-1.0.11rc1/ppc/tumbler.patch +@@ -15,21 +15,21 @@ + static struct work_struct device_change; + +#endif + +- static void +- device_change_handler(void *self) +-@@ -895,7 +900,11 @@ +- +- /* finally we need to schedule an update of the mixer values +- (master and DRC are enough for now) -ReneR */ ++ static void device_change_handler(void *self) ++ { ++@@ -1009,7 +1014,11 @@ ++ mix = chip->mixer_data; ++ snd_assert(mix, return); ++ mix->auto_mute_notify = do_notify; + +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0) + + schedule_task(&device_change); + +#else + schedule_work(&device_change); + +#endif +- + } + } +-@@ -1156,7 +1165,11 @@ ++ #endif /* PMAC_SUPPORT_AUTOMUTE */ ++@@ -1416,7 +1425,11 @@ + chip->resume = tumbler_resume; + #endif + +@@ -40,4 +40,4 @@ + +#endif + + #ifdef PMAC_SUPPORT_AUTOMUTE +- if (mix->headphone_irq >=0 && (err = snd_pmac_add_automute(chip)) < 0) ++ if ((mix->headphone_irq >=0 || mix->lineout_irq >= 0) |