summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorminskim <minskim>2004-09-11 02:05:01 +0000
committerminskim <minskim>2004-09-11 02:05:01 +0000
commit117cb87d460a6e3f6676453c92621ac2e55de7b1 (patch)
tree0dd47f87a1ef533b5b8fdd8357f79beb32d723a0 /audio
parent723055a1ac6f0479beb205a1c495c61e49eaadab (diff)
downloadpkgsrc-117cb87d460a6e3f6676453c92621ac2e55de7b1.tar.gz
Make this package build on Linux by including stdint.h before using
uintptr_t.
Diffstat (limited to 'audio')
-rw-r--r--audio/csound-dev/distinfo5
-rw-r--r--audio/csound-dev/patches/patch-av18
-rw-r--r--audio/csound-dev/patches/patch-ay14
3 files changed, 31 insertions, 6 deletions
diff --git a/audio/csound-dev/distinfo b/audio/csound-dev/distinfo
index 71e412159e7..8a8976d30b3 100644
--- a/audio/csound-dev/distinfo
+++ b/audio/csound-dev/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.6 2004/04/17 23:10:19 ben Exp $
+$NetBSD: distinfo,v 1.7 2004/09/11 02:05:01 minskim Exp $
SHA1 (csound/Csound-4.24.1.tar.bz2) = a14903e23b72c78a870b0d38df7bbdb5e1a56c9e
Size (csound/Csound-4.24.1.tar.bz2) = 1116589 bytes
@@ -23,6 +23,7 @@ SHA1 (patch-ar) = eadee2e5c324b7b899a032bc782d74867c1add72
SHA1 (patch-as) = 45a18ea81022a722c489aee4013589172490c60f
SHA1 (patch-at) = fd424477994e026526ed14d9d64a951abcfbb6fb
SHA1 (patch-au) = 5c002177662b6f9b4eacccba023e88ba8c0699af
-SHA1 (patch-av) = 3f0ab825be6b3e1ce8f5f9a5e019b70b93bcc385
+SHA1 (patch-av) = 17b6e08cff26c6bbea18f30649b2dfeff7a7dab9
SHA1 (patch-aw) = a3b52e7a40bba5ca7e2a422d4718b4c11b0f7b95
SHA1 (patch-ax) = 2dda0346134d115d2299e210e4689fd788104efb
+SHA1 (patch-ay) = 9a654dc2c269c8e8a6486f42b4ec9a1533cac065
diff --git a/audio/csound-dev/patches/patch-av b/audio/csound-dev/patches/patch-av
index 1bacf331502..b09eb6247af 100644
--- a/audio/csound-dev/patches/patch-av
+++ b/audio/csound-dev/patches/patch-av
@@ -1,8 +1,18 @@
-$NetBSD: patch-av,v 1.1 2004/01/23 19:34:09 kristerw Exp $
+$NetBSD: patch-av,v 1.2 2004/09/11 02:05:01 minskim Exp $
---- csound.c.orig Fri Jan 23 20:13:03 2004
-+++ csound.c Fri Jan 23 20:14:09 2004
-@@ -696,10 +696,12 @@
+--- csound.c.orig 2003-02-25 21:24:01.000000000 -0600
++++ csound.c
+@@ -45,6 +45,9 @@ extern "C" {
+ #define WIN32_LEAN_AND_MEAN
+ #include <windows.h>
+ #endif
++#ifdef __linux__
++#include <stdint.h>
++#endif
+
+ #ifdef __CYGWIN__
+ #undef __unix
+@@ -696,10 +699,12 @@ char csoundGetChar(void)
if (!tty_attr_set)
inchar_tty_init(); /* initialise terminal if not done yet */
/* otherwise poll stdin for input (currently UNIX only) */
diff --git a/audio/csound-dev/patches/patch-ay b/audio/csound-dev/patches/patch-ay
new file mode 100644
index 00000000000..fd6a060eca8
--- /dev/null
+++ b/audio/csound-dev/patches/patch-ay
@@ -0,0 +1,14 @@
+$NetBSD: patch-ay,v 1.1 2004/09/11 02:05:01 minskim Exp $
+
+--- memalloc.c.orig 2003-02-25 21:24:01.000000000 -0600
++++ memalloc.c
+@@ -4,6 +4,9 @@
+ #define CS_H_NO_MACROS_FOR_GLOBALS 1
+
+ #include <cs.h>
++#ifdef __linux__
++#include <stdint.h>
++#endif
+ #include "memalloc.h"
+
+ #define CS_MEMINFO_BLOCK_SIZE 256