aboutsummaryrefslogtreecommitdiff
path: root/audio/freealut/files/patch-src_alutLoader.c
diff options
context:
space:
mode:
Diffstat (limited to 'audio/freealut/files/patch-src_alutLoader.c')
-rw-r--r--audio/freealut/files/patch-src_alutLoader.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/audio/freealut/files/patch-src_alutLoader.c b/audio/freealut/files/patch-src_alutLoader.c
new file mode 100644
index 000000000000..d395cd9602dd
--- /dev/null
+++ b/audio/freealut/files/patch-src_alutLoader.c
@@ -0,0 +1,11 @@
+--- src/alutLoader.c.orig Sun Aug 6 19:00:08 2006
++++ src/alutLoader.c Sun Aug 6 19:01:10 2006
+@@ -474,7 +474,7 @@
+
+ /* ToDo: Can we do something less insane than passing 0x7FFFFFFF? */
+ stream = _alutInputStreamConstructFromMemory (buffer, 0x7FFFFFFF);
+- _alutLoadMemoryFromInputStream (stream, format, size, &freq);
++ *data = _alutLoadMemoryFromInputStream (stream, format, size, &freq);
+ if (*data == NULL)
+ {
+ return;