File ZynAddSubFX-fltk13.diff of Package ZynAddSubFX

From 0f236881d7b0ce41755959ca9316fa3abb9464e6 Mon Sep 17 00:00:00 2001
From: fundamental <mark.d.mccurry@gmail.com>
Date: Fri, 3 Jun 2011 12:51:50 -0400
Subject: [PATCH 1/1] FLTK1.3: Applying patch to force code generation

Applying patch from gentoo to fix compile error:
https://sourceforge.net/tracker/?func=detail&aid=3175784&group_id=62934&atid=502312
---
 src/UI/BankUI.fl     |    2 +-
 src/UI/OscilGenUI.fl |    2 +-
 src/UI/PresetsUI.fl  |    4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

Index: ZynAddSubFX-2.4.1/src/UI/BankUI.fl
===================================================================
--- ZynAddSubFX-2.4.1.orig/src/UI/BankUI.fl
+++ ZynAddSubFX-2.4.1/src/UI/BankUI.fl
@@ -32,7 +32,7 @@ decl {\#include "../Misc/Config.h"} {pub
 
 class BankProcess_ {} {
   Function {process()} {open return_type {virtual void}
-  } {}
+  } {code{;}}
   decl {Bank *bank;} {public
   }
 } 
Index: ZynAddSubFX-2.4.1/src/UI/OscilGenUI.fl
===================================================================
--- ZynAddSubFX-2.4.1.orig/src/UI/OscilGenUI.fl
+++ ZynAddSubFX-2.4.1/src/UI/OscilGenUI.fl
@@ -129,7 +129,7 @@ delete [] spc;} {selected
 
 class PSlider {: {public Fl_Slider}
 } {
-  Function {PSlider(int x,int y, int w, int h, const char *label=0):Fl_Slider(x,y,w,h,label)} {} {}
+  Function {PSlider(int x,int y, int w, int h, const char *label=0):Fl_Slider(x,y,w,h,label)} {} {code{;}}
   Function {handle(int event)} {return_type int
   } {
     code {int X=x(),Y=y(),W=w(),H=h();
Index: ZynAddSubFX-2.4.1/src/UI/PresetsUI.fl
===================================================================
--- ZynAddSubFX-2.4.1.orig/src/UI/PresetsUI.fl
+++ ZynAddSubFX-2.4.1/src/UI/PresetsUI.fl
@@ -18,9 +18,9 @@ decl {\#include "../Params/Presets.h"} {
 
 class PresetsUI_ {} {
   Function {refresh()} {open return_type {virtual void}
-  } {}
+  } {code{;}}
   Function {~PresetsUI_()} {open return_type virtual
-  } {}
+  } {code{;}}
 } 
 
 class PresetsUI {} {
Index: ZynAddSubFX-2.4.1/src/UI/PartUI.fl
===================================================================
--- ZynAddSubFX-2.4.1.orig/src/UI/PartUI.fl
+++ ZynAddSubFX-2.4.1/src/UI/PartUI.fl
@@ -83,10 +83,7 @@ end();} {}
   decl {int npart;} {}
 } 
 
-class PartUI_ {} {
-  Function {showparameters(int kititem,int engine)} {return_type virtual
-  } {}
-} 
+decl {class PartUI;} {public}
 
 class PartKitItem {: {public Fl_Group}
 } {
@@ -254,7 +251,7 @@ partui->showparameters(n,-1);//use to de
 } else o->value(1);}
     }
   }
-  Function {init(Part *part_,int n_,Master *master_,PartUI_ *partui_)} {} {
+  Function {init(Part *part_,int n_,Master *master_,PartUI *partui_)} {} {
     code {part=part_;
 n=n_;
 partui=partui_;
@@ -271,10 +268,10 @@ end();} {}
   decl {int n;} {}
   decl {Master *master;} {}
   decl {char label[10];} {}
-  decl {PartUI_ *partui;} {}
+  decl {PartUI *partui;} {}
 } 
 
-class PartUI {: {public Fl_Group,PartUI_}
+class PartUI {: {public Fl_Group}
 } {
   Function {make_window()} {private
   } {