summaryrefslogtreecommitdiff
path: root/audio/musepack/patches
diff options
context:
space:
mode:
authorwiz <wiz>2014-04-18 12:43:42 +0000
committerwiz <wiz>2014-04-18 12:43:42 +0000
commitf53534e2fdd3c3c1f9e96be72f2171d97b240f1c (patch)
tree21d3aab5886e54363a7de2065185f362d89fba43 /audio/musepack/patches
parentd3ff3f1bd593e67d36adcfd56395a74729ac05ca (diff)
downloadpkgsrc-f53534e2fdd3c3c1f9e96be72f2171d97b240f1c.tar.gz
Import musepack-0rc475 as audio/musepack.
This is a speed and portability optimized version of Andree Buschmann's MPEG-Plus decoder.
Diffstat (limited to 'audio/musepack/patches')
-rw-r--r--audio/musepack/patches/patch-mpcenc_keyboard.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/audio/musepack/patches/patch-mpcenc_keyboard.c b/audio/musepack/patches/patch-mpcenc_keyboard.c
new file mode 100644
index 00000000000..2587beb6ff2
--- /dev/null
+++ b/audio/musepack/patches/patch-mpcenc_keyboard.c
@@ -0,0 +1,15 @@
+$NetBSD: patch-mpcenc_keyboard.c,v 1.1 2014/04/18 12:43:42 wiz Exp $
+
+Add header for struct timeval.
+
+--- mpcenc/keyboard.c.orig 2006-12-19 19:39:02.000000000 +0000
++++ mpcenc/keyboard.c
+@@ -52,6 +52,8 @@ CheckKey ( void )
+
+ #else
+
++#include <sys/time.h>
++
+ # ifdef USE_TERMIOS
+ # include <termios.h>
+