summaryrefslogtreecommitdiff
path: root/community/ogle/gcc34alsafix.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/ogle/gcc34alsafix.patch')
-rw-r--r--community/ogle/gcc34alsafix.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/community/ogle/gcc34alsafix.patch b/community/ogle/gcc34alsafix.patch
new file mode 100644
index 000000000..76de3462d
--- /dev/null
+++ b/community/ogle/gcc34alsafix.patch
@@ -0,0 +1,15 @@
+--- ogle-0.9.2/libogleao/alsa_audio.c 2003-10-18 17:38:30.000000000 -0700
++++ ogle-0.9.2-patch/libogleao/alsa_audio.c 2005-04-22 18:21:23.000000000 -0700
+@@ -248,10 +248,9 @@
+ //Shouldn't ctl_handle be closed here?
+ }
+
+- snd_ctl_close(ctl_handle);
+-
+- __diga_end:
++ snd_ctl_close(ctl_handle);
+ }
++ __diga_end:
+
+ return 0;
+ }