pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio/csound4 Add DragonFly support.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b28e4ccf2f4f
branches:  trunk
changeset: 500261:b28e4ccf2f4f
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Tue Oct 04 19:23:39 2005 +0000

description:
Add DragonFly support.

diffstat:

 audio/csound4/distinfo         |   7 ++++++-
 audio/csound4/patches/patch-aa |  13 +++++++++++++
 audio/csound4/patches/patch-ab |  40 ++++++++++++++++++++++++++++++++++++++++
 audio/csound4/patches/patch-ac |  13 +++++++++++++
 audio/csound4/patches/patch-ad |  13 +++++++++++++
 audio/csound4/patches/patch-ae |  31 +++++++++++++++++++++++++++++++
 6 files changed, 116 insertions(+), 1 deletions(-)

diffs (145 lines):

diff -r 77a0b1989184 -r b28e4ccf2f4f audio/csound4/distinfo
--- a/audio/csound4/distinfo    Tue Oct 04 19:19:05 2005 +0000
+++ b/audio/csound4/distinfo    Tue Oct 04 19:23:39 2005 +0000
@@ -1,5 +1,10 @@
-$NetBSD: distinfo,v 1.4 2005/05/23 20:40:47 ben Exp $
+$NetBSD: distinfo,v 1.5 2005/10/04 19:23:39 joerg Exp $
 
 SHA1 (csound/csound-4.23f13gbs.0.tar.gz) = 2f86efb6e53f43cd16a6cfb0ff9a0786982f7af9
 RMD160 (csound/csound-4.23f13gbs.0.tar.gz) = 46e161975afbf68f5591842e2921ea1822df30b2
 Size (csound/csound-4.23f13gbs.0.tar.gz) = 1676345 bytes
+SHA1 (patch-aa) = ec2b962f512bbb93aa6255dff0efa4d93aa035a8
+SHA1 (patch-ab) = 49e1780581c8aecd4962e7f05d573671576cfe42
+SHA1 (patch-ac) = fc9dd07c754e330d23f13233116852add9e8a633
+SHA1 (patch-ad) = 3b1301614e80c9ace2a39c8385162bb8896f6c27
+SHA1 (patch-ae) = c4d1d57ffdcf6b091253d6e4523bdc8ff7f955f7
diff -r 77a0b1989184 -r b28e4ccf2f4f audio/csound4/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/csound4/patches/patch-aa    Tue Oct 04 19:23:39 2005 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1 2005/10/04 19:23:39 joerg Exp $
+
+--- csound/main.c.orig 2005-07-22 18:16:01.000000000 +0000
++++ csound/main.c
+@@ -149,7 +149,7 @@ void set_rt_priority(int argc, char **ar
+ 
+ #endif
+ 
+-#if !defined(LINUX) && !defined(SGI) && !defined(__BEOS__) && !defined(__MACH__) && !defined(NETBSD)
++#if !defined(LINUX) && !defined(SGI) && !defined(__BEOS__) && !defined(__MACH__) && !defined(NETBSD) && !defined(__DragonFly__)
+ static char *signal_to_string(int sig)
+ {
+     switch(sig) {
diff -r 77a0b1989184 -r b28e4ccf2f4f audio/csound4/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/csound4/patches/patch-ab    Tue Oct 04 19:23:39 2005 +0000
@@ -0,0 +1,40 @@
+$NetBSD: patch-ab,v 1.1 2005/10/04 19:23:39 joerg Exp $
+
+--- csound/mididevice.c.orig   2005-07-22 18:27:05.000000000 +0000
++++ csound/mididevice.c
+@@ -79,7 +79,7 @@ struct pollfd midipoll;
+ #    include <sgtty.h>
+ #    define INBAUD    EXTB
+      static struct sgttyb tty;
+-#elif defined(LINUX) || defined(NETBSD)              /* J. Mohr  1995 Oct 17 */
++#elif defined(LINUX) || defined(NETBSD) || defined(__DragonFly__)  /* J. Mohr  1995 Oct 17 */
+ #    include <sys/time.h>
+ #    include <unistd.h>
+ 
+@@ -366,7 +366,7 @@ void OpenMIDIDevice(void)
+             /* allocate the message structure */
+         in_msg = (msg_header_t *)mmalloc(MSG_SIZE_MAX);
+       }
+-#elif defined(LINUX) || defined(NETBSD)
++#elif defined(LINUX) || defined(NETBSD) || defined(__DragonFly__)
+ # ifdef HAVE_TERMIOS_H
+       if (isatty(rtfd)) {
+         if (tcgetattr(rtfd, &tty) < 0) {
+@@ -521,7 +521,7 @@ long GetMIDIData(void)
+ #ifdef SGI  /* for new SGI media library implementation*/
+     int i, j;
+ #endif
+-#if defined(LINUX) || defined(NETBSD)
++#if defined(LINUX) || defined(NETBSD) || defined(__DragonFly__)
+     /* For select() call, from David Ratajczak */
+     fd_set rfds;
+     struct timeval tv;
+@@ -543,7 +543,7 @@ long GetMIDIData(void)
+         return (long)n;         /* JPff added 23 Jun 2004 */
+       }
+       else return(0) ;
+-#elif defined(LINUX) || defined(NETBSD)
++#elif defined(LINUX) || defined(NETBSD) || defined(__DragonFly__)
+       /********  NEW STUFF **********/ /* from David Ratajczak */
+       /* Use select() to make truly */
+       /* non-blocking call to midi  */
diff -r 77a0b1989184 -r b28e4ccf2f4f audio/csound4/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/csound4/patches/patch-ac    Tue Oct 04 19:23:39 2005 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1 2005/10/04 19:23:39 joerg Exp $
+
+--- csound/sysdep.h.orig       2005-10-04 15:13:28.000000000 +0200
++++ csound/sysdep.h
+@@ -38,7 +38,7 @@
+ #define __FL_DEF
+ #endif
+ 
+-#if defined(LINUX) || defined(__MACH__) || defined(NETBSD)
++#if defined(LINUX) || defined(__MACH__) || defined(NETBSD) || defined(__DragonFly__)
+ # include <unistd.h>       /* for open() etc protos on mac */
+ #endif
+ 
diff -r 77a0b1989184 -r b28e4ccf2f4f audio/csound4/patches/patch-ad
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/csound4/patches/patch-ad    Tue Oct 04 19:23:39 2005 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ad,v 1.1 2005/10/04 19:23:39 joerg Exp $
+
+--- csound/linevent.c.orig     2005-07-22 18:36:59.000000000 +0000
++++ csound/linevent.c
+@@ -42,7 +42,7 @@ extern int read(int, void*, unsigned);
+ #endif
+ 
+ #ifdef PIPES
+-# if defined(SGI) || defined(LINUX) || defined(NeXT) || defined(__MACH__) || defined(NETBSD)
++# if defined(SGI) || defined(LINUX) || defined(NeXT) || defined(__MACH__) || defined(NETBSD) || defined(__DragonFly__)
+ #  define _popen popen
+ #  define _pclose pclose
+ # elif defined(__BEOS__)
diff -r 77a0b1989184 -r b28e4ccf2f4f audio/csound4/patches/patch-ae
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/csound4/patches/patch-ae    Tue Oct 04 19:23:39 2005 +0000
@@ -0,0 +1,31 @@
+$NetBSD: patch-ae,v 1.1 2005/10/04 19:23:39 joerg Exp $
+
+--- csound/soundio.c.orig      2005-07-22 18:43:26.000000000 +0000
++++ csound/soundio.c
+@@ -24,7 +24,7 @@
+ #include "cs.h"                 /*                      SOUNDIO.C       */
+ #include "soundio.h"
+ #include <math.h>
+-#if defined(LINUX) || defined(NETBSD) || defined(__MACH__)
++#if defined(LINUX) || defined(NETBSD) || defined(__MACH__) || defined(__DragonFly__)
+ #include <unistd.h>
+ #endif
+ #ifdef mills_macintosh
+@@ -102,7 +102,7 @@ extern  int     audiofd;
+ #ifdef PIPES
+ FILE* pin=NULL, *pout=NULL;
+ /*sbrandon: added NeXT to line below*/
+-# if defined(SGI) || defined(LINUX) || defined(__BEOS__) || defined(NeXT) || defined(__MACH__) || defined(NETBSD)
++# if defined(SGI) || defined(LINUX) || defined(__BEOS__) || defined(NeXT) || defined(__MACH__) || defined(NETBSD) || defined(__DragonFly__)
+ #  define _popen popen
+ #  define _pclose pclose
+ # endif
+@@ -238,7 +238,7 @@ static int audread(char *inbuf, int nbyt
+     return(sreadin(isfd,inbuf,nbytes,p));
+ }
+ 
+-#if !defined(SYMANTEC) && !defined(mac_classic) && !defined(LINUX) && !defined(__BEOS__) && !defined(__MACH__) && !defined(NETBSD)
++#if !defined(SYMANTEC) && !defined(mac_classic) && !defined(LINUX) && !defined(__BEOS__) && !defined(__MACH__) && !defined(NETBSD) && !defined(__DragonFly__)
+ extern int write(int, const void*, unsigned int);
+ #endif
+ 



Home | Main Index | Thread Index | Old Index