pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio/csound4 Make it compile on DragonFly.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f8129593f68f
branches:  trunk
changeset: 555885:f8129593f68f
user:      hasso <hasso%pkgsrc.org@localhost>
date:      Wed Mar 11 09:20:02 2009 +0000

description:
Make it compile on DragonFly.

diffstat:

 audio/csound4/distinfo         |   3 ++-
 audio/csound4/patches/patch-am |  27 +++++++++++++++++++++++++++
 2 files changed, 29 insertions(+), 1 deletions(-)

diffs (45 lines):

diff -r 33688db59e9d -r f8129593f68f audio/csound4/distinfo
--- a/audio/csound4/distinfo    Wed Mar 11 08:52:29 2009 +0000
+++ b/audio/csound4/distinfo    Wed Mar 11 09:20:02 2009 +0000
@@ -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-aj) = fa3c05b0c5e24775d5c05838177fcec943809b35
 SHA1 (patch-ak) = c0ae45c78220a871c88dd515e8fc3b04adcdb113
 SHA1 (patch-al) = ee49c6343f0850c00f35441a192d122216a12c3c
+SHA1 (patch-am) = fabe6ac329275ac33c3038383c0bf62cabe2d8a5
diff -r 33688db59e9d -r f8129593f68f audio/csound4/patches/patch-am
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/csound4/patches/patch-am    Wed Mar 11 09:20:02 2009 +0000
@@ -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



Home | Main Index | Thread Index | Old Index