summaryrefslogtreecommitdiff
path: root/media-sound/awesfx/files/awesfx-0.5.2-return-type.patch
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/awesfx/files/awesfx-0.5.2-return-type.patch')
-rw-r--r--media-sound/awesfx/files/awesfx-0.5.2-return-type.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/media-sound/awesfx/files/awesfx-0.5.2-return-type.patch b/media-sound/awesfx/files/awesfx-0.5.2-return-type.patch
new file mode 100644
index 000000000000..2fbe38abaea9
--- /dev/null
+++ b/media-sound/awesfx/files/awesfx-0.5.2-return-type.patch
@@ -0,0 +1,12 @@
+diff -ru a/alsa.c b/alsa.c
+--- a/alsa.c 2024-06-05 19:43:42.987168221 -0000
++++ b/alsa.c 2024-06-05 19:44:48.530787408 -0000
+@@ -139,7 +139,7 @@
+ return snd_hwdep_ioctl(hwdep, SNDRV_EMUX_IOCTL_MISC_MODE, &mode);
+ }
+
+-void seq_set_gus_bank(int bank)
++int seq_set_gus_bank(int bank)
+ {
+ struct sndrv_emux_misc_mode mode;
+ mode.port = -1;