summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2005-10-04 19:23:39 +0000
committerjoerg <joerg@pkgsrc.org>2005-10-04 19:23:39 +0000
commit68b7f3a7b8dad1e8e8626c777e1f6c96b80b95d1 (patch)
tree60acffb50a209b8b206a06f64c9b7cf4610071f3 /audio
parent41134fd4cc61731e864a19fac5d9b49742895a92 (diff)
downloadpkgsrc-68b7f3a7b8dad1e8e8626c777e1f6c96b80b95d1.tar.gz
Add DragonFly support.
Diffstat (limited to 'audio')
-rw-r--r--audio/csound4/distinfo7
-rw-r--r--audio/csound4/patches/patch-aa13
-rw-r--r--audio/csound4/patches/patch-ab40
-rw-r--r--audio/csound4/patches/patch-ac13
-rw-r--r--audio/csound4/patches/patch-ad13
-rw-r--r--audio/csound4/patches/patch-ae31
6 files changed, 116 insertions, 1 deletions
diff --git a/audio/csound4/distinfo b/audio/csound4/distinfo
index 63cea113982..5a53c398fc0 100644
--- a/audio/csound4/distinfo
+++ b/audio/csound4/distinfo
@@ -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 --git a/audio/csound4/patches/patch-aa b/audio/csound4/patches/patch-aa
new file mode 100644
index 00000000000..d750a000e71
--- /dev/null
+++ b/audio/csound4/patches/patch-aa
@@ -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 --git a/audio/csound4/patches/patch-ab b/audio/csound4/patches/patch-ab
new file mode 100644
index 00000000000..ee55850fb58
--- /dev/null
+++ b/audio/csound4/patches/patch-ab
@@ -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 --git a/audio/csound4/patches/patch-ac b/audio/csound4/patches/patch-ac
new file mode 100644
index 00000000000..f01bec7245a
--- /dev/null
+++ b/audio/csound4/patches/patch-ac
@@ -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 --git a/audio/csound4/patches/patch-ad b/audio/csound4/patches/patch-ad
new file mode 100644
index 00000000000..4dd65e34991
--- /dev/null
+++ b/audio/csound4/patches/patch-ad
@@ -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 --git a/audio/csound4/patches/patch-ae b/audio/csound4/patches/patch-ae
new file mode 100644
index 00000000000..6cbb46509fc
--- /dev/null
+++ b/audio/csound4/patches/patch-ae
@@ -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
+