summaryrefslogtreecommitdiff
path: root/media-sound/yoshimi/files/yoshimi-2.3.3.1-fltk1.4.patch
blob: e3266ce7af7a1f4d07f8958f32165c36adbf2bd2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
MiscGui.cpp:1434:18: error: 'fl_display' was not declared ...

Other files are using x.H, but that header is deprecated and
the correct one is platform.H. fl_display is X-specific, so
this likely cannot work without fltk[X] at the moment.
--- a/UI/MiscGui.cpp
+++ b/UI/MiscGui.cpp
@@ -28,6 +28,7 @@
 
 #include <FL/Fl.H>
 #include <FL/fl_draw.H>
+#include <FL/platform.H>
 
 #include <cairo.h>
 #include <cairo-xlib.h>