pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/csound-dev Make this package build on Linux by i...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/54557a3df12d
branches:  trunk
changeset: 480492:54557a3df12d
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Sat Sep 11 02:05:01 2004 +0000

description:
Make this package build on Linux by including stdint.h before using
uintptr_t.

diffstat:

 audio/csound-dev/distinfo         |   5 +++--
 audio/csound-dev/patches/patch-av |  18 ++++++++++++++----
 audio/csound-dev/patches/patch-ay |  14 ++++++++++++++
 3 files changed, 31 insertions(+), 6 deletions(-)

diffs (62 lines):

diff -r 7f4fac27fee0 -r 54557a3df12d audio/csound-dev/distinfo
--- a/audio/csound-dev/distinfo Fri Sep 10 21:30:50 2004 +0000
+++ b/audio/csound-dev/distinfo Sat Sep 11 02:05:01 2004 +0000
@@ -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-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 -r 7f4fac27fee0 -r 54557a3df12d audio/csound-dev/patches/patch-av
--- a/audio/csound-dev/patches/patch-av Fri Sep 10 21:30:50 2004 +0000
+++ b/audio/csound-dev/patches/patch-av Sat Sep 11 02:05:01 2004 +0000
@@ -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 -r 7f4fac27fee0 -r 54557a3df12d audio/csound-dev/patches/patch-ay
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/csound-dev/patches/patch-ay Sat Sep 11 02:05:01 2004 +0000
@@ -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



Home | Main Index | Thread Index | Old Index