summaryrefslogtreecommitdiffstats
path: root/freebsd/dependencies/akode/files/patch-amd64_libflac8_fix.diff
diff options
context:
space:
mode:
Diffstat (limited to 'freebsd/dependencies/akode/files/patch-amd64_libflac8_fix.diff')
-rw-r--r--freebsd/dependencies/akode/files/patch-amd64_libflac8_fix.diff11
1 files changed, 11 insertions, 0 deletions
diff --git a/freebsd/dependencies/akode/files/patch-amd64_libflac8_fix.diff b/freebsd/dependencies/akode/files/patch-amd64_libflac8_fix.diff
new file mode 100644
index 000000000..d0334a3a4
--- /dev/null
+++ b/freebsd/dependencies/akode/files/patch-amd64_libflac8_fix.diff
@@ -0,0 +1,11 @@
+--- a/akode/plugins/xiph_decoder/flac113_decoder.cpp
++++ b/akode/plugins/xiph_decoder/flac113_decoder.cpp
+@@ -108,7 +108,7 @@
+ static FLAC__StreamDecoderReadStatus flac_read_callback(
+ const FLAC__StreamDecoder *,
+ FLAC__byte buffer[],
+- unsigned *bytes,
++ size_t *bytes,
+ void *client_data)
+ {
+ FLACDecoder::private_data *data = (FLACDecoder::private_data*)client_data;