diff options
author | ben <ben@pkgsrc.org> | 2003-12-19 16:48:06 +0000 |
---|---|---|
committer | ben <ben@pkgsrc.org> | 2003-12-19 16:48:06 +0000 |
commit | 9af7b585f0dbca2c732fb4c23a9a557b5cb17971 (patch) | |
tree | 6d08a5e8f72dd0a906e2cefaeed314f8b636854a /audio/spiralsynth/patches/patch-af | |
parent | 6fb96afadf2842034a4ad5956c346c2e801b0caf (diff) | |
download | pkgsrc-9af7b585f0dbca2c732fb4c23a9a557b5cb17971.tar.gz |
Fix build error introduced by gcc3.
ftp://ftp.netbsd.org/pub/NetBSD/misc/agc/borked-current/audio/spiralsynth/.broken.sys2.html
Diffstat (limited to 'audio/spiralsynth/patches/patch-af')
-rw-r--r-- | audio/spiralsynth/patches/patch-af | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/audio/spiralsynth/patches/patch-af b/audio/spiralsynth/patches/patch-af new file mode 100644 index 00000000000..f36060bf034 --- /dev/null +++ b/audio/spiralsynth/patches/patch-af @@ -0,0 +1,22 @@ +$NetBSD: patch-af,v 1.1 2003/12/19 16:48:06 ben Exp $ + +--- GUI/ScopeGUI.C.orig 2000-11-26 07:52:39.000000000 -0800 ++++ GUI/ScopeGUI.C +@@ -22,7 +22,7 @@ + + #include <FL/fl_draw.H> + +-ScopeWidget::ScopeWidget(int x,int y,int w,int h,const char *l=0) : ++ScopeWidget::ScopeWidget(int x,int y,int w,int h,const char *l) : + Fl_Widget(x,y,w,h,l) + { + } +@@ -53,7 +53,7 @@ void ScopeGUI::Display(short *data) + if (!m_Bypass) m_Scope->redraw(); + } + +-void ScopeGUI::CreateGUI(int xoff=0, int yoff=0, char *name) ++void ScopeGUI::CreateGUI(int xoff, int yoff, char *name) + { + Fl_Group* o = GUIScopeGroup = new Fl_Group(xoff, yoff, 225, 110, name); + o->type(1); |