summaryrefslogtreecommitdiff
path: root/audio/libao/patches/patch-ad
diff options
context:
space:
mode:
Diffstat (limited to 'audio/libao/patches/patch-ad')
-rw-r--r--audio/libao/patches/patch-ad23
1 files changed, 0 insertions, 23 deletions
diff --git a/audio/libao/patches/patch-ad b/audio/libao/patches/patch-ad
deleted file mode 100644
index 744d453eca5..00000000000
--- a/audio/libao/patches/patch-ad
+++ /dev/null
@@ -1,23 +0,0 @@
-$NetBSD: patch-ad,v 1.2 2001/03/20 09:57:37 wiz Exp $
-
---- src/ao_wav.c.orig Sat Feb 24 02:31:46 2001
-+++ src/ao_wav.c
-@@ -221,7 +221,7 @@
-
- /* Swap the bytes into the swap buffer (so we don't
- mess up the output_samples buffer) */
-- for(i = 0; i < num_bytes/2; i+=2) {
-+ for(i = 0; i < num_bytes; i+=2) {
- s->swap_buffer[i] = ((char *) output_samples)[i+1];
- s->swap_buffer[i+1] = ((char *) output_samples)[i];
- }
-@@ -297,6 +297,9 @@
-
- ERR:
- close(s->fd);
-+ free(s->output_file);
-+ if (s->byte_swap)
-+ free(s->byte_swap);
- free(s);
- }
-