summaryrefslogtreecommitdiff
path: root/audio/csound4
diff options
context:
space:
mode:
authorhasso <hasso@pkgsrc.org>2009-03-11 09:20:02 +0000
committerhasso <hasso@pkgsrc.org>2009-03-11 09:20:02 +0000
commit38bc02c5825cf9846fc9b3fe1e163f26237327ab (patch)
tree576de7acd9f5ff9a3ba6d916ede73ce2e9b390a2 /audio/csound4
parent16db359886832474753b379e32a18df42e8b2b0a (diff)
downloadpkgsrc-38bc02c5825cf9846fc9b3fe1e163f26237327ab.tar.gz
Make it compile on DragonFly.
Diffstat (limited to 'audio/csound4')
-rw-r--r--audio/csound4/distinfo3
-rw-r--r--audio/csound4/patches/patch-am27
2 files changed, 29 insertions, 1 deletions
diff --git a/audio/csound4/distinfo b/audio/csound4/distinfo
index cb49c066707..49f978bb820 100644
--- a/audio/csound4/distinfo
+++ b/audio/csound4/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.10 2007/08/08 18:32:54 joerg Exp $
+$NetBSD: distinfo,v 1.11 2009/03/11 09:20:02 hasso Exp $
SHA1 (csound/csound-4.23f13gbs.0.tar.gz) = 2f86efb6e53f43cd16a6cfb0ff9a0786982f7af9
RMD160 (csound/csound-4.23f13gbs.0.tar.gz) = 46e161975afbf68f5591842e2921ea1822df30b2
@@ -15,3 +15,4 @@ SHA1 (patch-ai) = b53a6e8fdb4cb53dd07ab122023f0bf291c350d3
SHA1 (patch-aj) = fa3c05b0c5e24775d5c05838177fcec943809b35
SHA1 (patch-ak) = c0ae45c78220a871c88dd515e8fc3b04adcdb113
SHA1 (patch-al) = ee49c6343f0850c00f35441a192d122216a12c3c
+SHA1 (patch-am) = fabe6ac329275ac33c3038383c0bf62cabe2d8a5
diff --git a/audio/csound4/patches/patch-am b/audio/csound4/patches/patch-am
new file mode 100644
index 00000000000..0c97b7cfed8
--- /dev/null
+++ b/audio/csound4/patches/patch-am
@@ -0,0 +1,27 @@
+$NetBSD: patch-am,v 1.1 2009/03/11 09:20:02 hasso Exp $
+
+--- ./csound/widgets.cpp.orig 2009-03-11 10:47:28 +0200
++++ ./csound/widgets.cpp 2009-03-11 10:48:16 +0200
+@@ -31,11 +31,11 @@
+ #if defined(WIN32)
+ # include <process.h>
+ #endif /* defined(WIN32) */
+-#if defined(LINUX) || defined(NETBSD)
++#if defined(LINUX) || defined(NETBSD) || defined(__DragonFly__)
+ # include <pthread.h>
+ # include <sched.h>
+ # include <sys/time.h>
+-#endif /* defined(LINUX) || defined(NETBSD) */
++#endif /* defined(LINUX) || defined(NETBSD) || defined(__DragonFly__) */
+
+ #include <FL/Fl.H>
+ #include <FL/Fl_Window.H>
+@@ -84,7 +84,7 @@ extern "C" {
+ #define __cplusplus
+ // extern EVTBLK *currevent; IV - Aug 23 2002
+ extern char *unquote(char *name);
+-#if defined(LINUX) || defined(NETBSD)
++#if defined(LINUX) || defined(NETBSD) || defined(__DragonFly__)
+ extern int cleanup();
+ extern long srngcnt[], orngcnt[]; // from musmon.c
+ #endif