8aa01e7430
- many new opcodes - many opcodes have fixes - a few new API functions (now at 2.1) - general bug fixes - support for MusicXML v2 files - new parser port-forward most of the netbsd/dfbsd changes. some are obsolete now.
31 lines
890 B
Text
31 lines
890 B
Text
$NetBSD: patch-al,v 1.3 2014/02/13 10:10:06 mrg Exp $
|
|
|
|
--- InOut/winFLTK.c.orig 2013-01-07 04:49:34.000000000 -0800
|
|
+++ InOut/winFLTK.c 2014-02-12 20:51:49.000000000 -0800
|
|
@@ -29,7 +29,7 @@
|
|
#include <stdio.h>
|
|
#include "cwindow.h"
|
|
|
|
-#ifdef LINUX
|
|
+#if defined(LINUX) || defined(__NetBSD__) || defined(__DragonFly__)
|
|
#include <X11/Xlib.h>
|
|
#endif
|
|
|
|
@@ -81,7 +81,7 @@
|
|
fltkFlags = getFLTKFlagsPtr(csound);
|
|
if (((*fltkFlags) & 2) == 0 &&
|
|
!(csound->oparms->graphsoff || csound->oparms->postscript)) {
|
|
-#ifdef LINUX
|
|
+#if defined(LINUX) || defined(__NetBSD__) || defined(__DragonFly__)
|
|
Display *dpy = XOpenDisplay(NULL);
|
|
if (dpy != NULL) {
|
|
XCloseDisplay(dpy);
|
|
@@ -105,7 +105,7 @@
|
|
csound->Message(csound, "graph init \n");
|
|
|
|
}
|
|
-#ifdef LINUX
|
|
+#if defined(LINUX) || defined(__NetBSD__) || defined(__DragonFly__)
|
|
}
|
|
#endif
|
|
}
|