pkgsrc - initial commit
[pkgsrc.git] / audio / csound4 / patches / patch-am
1 $NetBSD: patch-am,v 1.1 2009/03/11 09:20:02 hasso Exp $
2
3 --- ./csound/widgets.cpp.orig   2009-03-11 10:47:28 +0200
4 +++ ./csound/widgets.cpp        2009-03-11 10:48:16 +0200
5 @@ -31,11 +31,11 @@
6  #if defined(WIN32)
7  #       include <process.h>
8  #endif /* defined(WIN32) */
9 -#if defined(LINUX) || defined(NETBSD)
10 +#if defined(LINUX) || defined(NETBSD) || defined(__DragonFly__)
11  #       include <pthread.h>
12  #       include <sched.h>
13  #       include <sys/time.h>
14 -#endif /* defined(LINUX) || defined(NETBSD) */
15 +#endif /* defined(LINUX) || defined(NETBSD) || defined(__DragonFly__) */
16  
17  #include <FL/Fl.H>
18  #include <FL/Fl_Window.H>
19 @@ -84,7 +84,7 @@ extern "C" {
20      #define __cplusplus
21  //    extern EVTBLK *currevent;    IV - Aug 23 2002
22      extern char *unquote(char *name);
23 -#if defined(LINUX) || defined(NETBSD)
24 +#if defined(LINUX) || defined(NETBSD) || defined(__DragonFly__)
25      extern int cleanup();
26      extern long srngcnt[], orngcnt[];   // from musmon.c
27  #endif