summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Mende <angelos@gentoo.org>2009-12-21 14:46:40 +0000
committerChristoph Mende <angelos@gentoo.org>2009-12-21 14:46:40 +0000
commite1e58dbf3cb5f7de5aeb4f7230c59d0ba1f47d92 (patch)
tree7559d6427b790d3c1cef13a010d95516d9fc4b54 /media-sound/mpd/files
parentFix building with -Wl,--no-as-needed wrt #248417 by Kevin Pyle. (diff)
downloadgentoo-2-e1e58dbf3cb5f7de5aeb4f7230c59d0ba1f47d92.tar.gz
gentoo-2-e1e58dbf3cb5f7de5aeb4f7230c59d0ba1f47d92.tar.bz2
gentoo-2-e1e58dbf3cb5f7de5aeb4f7230c59d0ba1f47d92.zip
Added patch to fix compilation with USE=wavpack (bug #297599), thanks to Darren Smith
(Portage version: 2.2_rc60/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/mpd/files')
-rw-r--r--media-sound/mpd/files/mpd-0.15.6-wavpack-uchar.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/media-sound/mpd/files/mpd-0.15.6-wavpack-uchar.patch b/media-sound/mpd/files/mpd-0.15.6-wavpack-uchar.patch
new file mode 100644
index 000000000000..7450033dde75
--- /dev/null
+++ b/media-sound/mpd/files/mpd-0.15.6-wavpack-uchar.patch
@@ -0,0 +1,12 @@
+diff -ru mpd-0.15.6.orig/src/decoder/wavpack_plugin.c mpd-0.15.6/src/decoder/wavpack_plugin.c
+--- mpd-0.15.6.orig/src/decoder/wavpack_plugin.c 2009-11-18 20:47:54.000000000 -0600
++++ mpd-0.15.6/src/decoder/wavpack_plugin.c 2009-12-19 19:52:20.567325999 -0600
+@@ -72,7 +72,7 @@
+
+ switch (bytes_per_sample) {
+ case 1: {
+- uchar *dst = buffer;
++ unsigned char *dst = buffer;
+ /*
+ * The asserts like the following one are because we do the
+ * formatting of samples within a single buffer. The size