summaryrefslogtreecommitdiff
path: root/audio/liteamp/patches
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2014-09-10 12:09:42 +0000
committerjoerg <joerg@pkgsrc.org>2014-09-10 12:09:42 +0000
commit26b9d25ad49a19f2c6b21c7aeed24907ad78fdea (patch)
tree325f446cabbcff90b0ecee0968620030225a72a6 /audio/liteamp/patches
parent1f7723e975eb82d9743730e6904c89c9d253e583 (diff)
downloadpkgsrc-26b9d25ad49a19f2c6b21c7aeed24907ad78fdea.tar.gz
g_memmove is dead, use the real thing.
Diffstat (limited to 'audio/liteamp/patches')
-rw-r--r--audio/liteamp/patches/patch-src_mad-decoder.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/audio/liteamp/patches/patch-src_mad-decoder.c b/audio/liteamp/patches/patch-src_mad-decoder.c
new file mode 100644
index 00000000000..af48cd1d4b1
--- /dev/null
+++ b/audio/liteamp/patches/patch-src_mad-decoder.c
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_mad-decoder.c,v 1.1 2014/09/10 12:09:42 joerg Exp $
+
+--- src/mad-decoder.c.orig 2014-09-09 18:36:33.000000000 +0000
++++ src/mad-decoder.c
+@@ -404,7 +404,7 @@ enum mad_flow input(void *data, struct m
+ gint len;
+
+ if(remain){
+- g_memmove(info->buf,stream->this_frame,remain);
++ memmove(info->buf,stream->this_frame,remain);
+ }
+
+ pthread_mutex_lock(&(info->mutex));