summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/mup/files/mup-5.6-fltk-fixes.patch')
-rw-r--r--media-sound/mup/files/mup-5.6-fltk-fixes.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/media-sound/mup/files/mup-5.6-fltk-fixes.patch b/media-sound/mup/files/mup-5.6-fltk-fixes.patch
new file mode 100644
index 000000000000..e4429c3679bf
--- /dev/null
+++ b/media-sound/mup/files/mup-5.6-fltk-fixes.patch
@@ -0,0 +1,23 @@
+--- mup-5.6.orig/mupmate/Config.C
++++ mup-5.6/mupmate/Config.C
+@@ -264,7 +264,7 @@
+ //-----------------------------------------------------------------
+
+ // List of standard FLTK fonts, and info to map name to menu entry.
+-static struct Font {
++static struct FlFont {
+ const char * name;
+ Fl_Font value;
+ int menu_offset;
+--- mup-5.6.orig/mupmate/Edit.C
++++ mup-5.6/mupmate/Edit.C
+@@ -201,8 +201,7 @@
+ // a previous Replace/Find Next
+ int start, end, isRect, rectStart, rectEnd;
+ bool at_pattern = false;
+- if (editor_p->buffer()->highlight_position(&start, &end, &isRect,
+- &rectStart, &rectEnd)) {
++ if (editor_p->buffer()->highlight_position(&start, &end)) {
+ int place = editor_p->insert_position();
+ if (place == end && (end - start == pattern_p->size())) {
+ if (casematch_p->value()) {