aboutsummaryrefslogtreecommitdiff
path: root/audio/freealut/files
diff options
context:
space:
mode:
authorOliver Lehmann <oliver@FreeBSD.org>2006-08-07 15:07:19 +0000
committerOliver Lehmann <oliver@FreeBSD.org>2006-08-07 15:07:19 +0000
commit426a66c39b1e43781f35f77e7fc5c09f66e71127 (patch)
tree2fd63668af5634719c6e4daee359db12f7c6bd47 /audio/freealut/files
parent92d1c2a9242a16322461f51513b6a157bd7d42a5 (diff)
downloadports-426a66c39b1e43781f35f77e7fc5c09f66e71127.tar.gz
ports-426a66c39b1e43781f35f77e7fc5c09f66e71127.zip
Notes
Diffstat (limited to 'audio/freealut/files')
-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;