pkgsrc/audio/spiralloops/patches/patch-ak
ben 6fb96afadf Fix build error introduced by gcc3.
ftp://ftp.netbsd.org/pub/NetBSD/misc/agc/borked-current/audio/spiralloops/.broken.sys2.html
2003-12-19 16:37:54 +00:00

22 lines
677 B
Text

$NetBSD: patch-ak,v 1.1 2003/12/19 16:37:54 ben Exp $
--- GUI/ScopeGUI.C.orig 2001-04-19 13:48:11.000000000 -0700
+++ GUI/ScopeGUI.C
@@ -23,7 +23,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),
m_Channels(1)
{
@@ -69,7 +69,7 @@ void ScopeGUI::Display(const 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);