diff options
author | wiedi <wiedi@pkgsrc.org> | 2014-02-24 13:05:39 +0000 |
---|---|---|
committer | wiedi <wiedi@pkgsrc.org> | 2014-02-24 13:05:39 +0000 |
commit | cab745cb94d23f0df236900e0f8f82f43e73036b (patch) | |
tree | 4cd40cf07a542d8c89fc661fdbf357ba0be9e538 /audio | |
parent | 35744055674d24764cd5047b388113aa8bd15ca7 (diff) | |
download | pkgsrc-cab745cb94d23f0df236900e0f8f82f43e73036b.tar.gz |
Include sys/types.h for int32_t on SunOS
Diffstat (limited to 'audio')
-rw-r--r-- | audio/py-audiotools/distinfo | 3 | ||||
-rw-r--r-- | audio/py-audiotools/patches/patch-src_samplerate_src__sinc.c | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/audio/py-audiotools/distinfo b/audio/py-audiotools/distinfo index 8a5143dfe65..5cbed71c265 100644 --- a/audio/py-audiotools/distinfo +++ b/audio/py-audiotools/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.2 2014/01/20 11:54:21 wiz Exp $ +$NetBSD: distinfo,v 1.3 2014/02/24 13:05:39 wiedi Exp $ SHA1 (audiotools-2.20.tar.gz) = 0ed9c286f21101dc4ff9fa702b5d4d52f6826ea8 RMD160 (audiotools-2.20.tar.gz) = d879fa9acc83e059b5aa124b36fda0d57479c4f6 Size (audiotools-2.20.tar.gz) = 6471831 bytes SHA1 (patch-audiotools_player.py) = cf6a8884ca976c188ab13cf4acfb23c775c61c7f +SHA1 (patch-src_samplerate_src__sinc.c) = c069c78096f444fc686f5ea6d5319a6e5ed458d1 diff --git a/audio/py-audiotools/patches/patch-src_samplerate_src__sinc.c b/audio/py-audiotools/patches/patch-src_samplerate_src__sinc.c new file mode 100644 index 00000000000..91546278cd0 --- /dev/null +++ b/audio/py-audiotools/patches/patch-src_samplerate_src__sinc.c @@ -0,0 +1,15 @@ +$NetBSD: patch-src_samplerate_src__sinc.c,v 1.1 2014/02/24 13:05:39 wiedi Exp $ + +Needed for int32_t on SunOS +--- src/samplerate/src_sinc.c.orig 2013-08-19 23:51:25.000000000 +0000 ++++ src/samplerate/src_sinc.c +@@ -26,6 +26,9 @@ + #include <stdio.h> + #include <stdlib.h> + #include <string.h> ++#if defined(__sun) ++#include <sys/types.h> ++#endif + + #include "float_cast.h" + #include "common.h" |