summaryrefslogtreecommitdiff
path: root/audio/spiralloops/patches
diff options
context:
space:
mode:
authorben <ben@pkgsrc.org>2003-12-19 16:37:54 +0000
committerben <ben@pkgsrc.org>2003-12-19 16:37:54 +0000
commit6fb96afadf2842034a4ad5956c346c2e801b0caf (patch)
tree3e4586e2d1a6578f4bc37a75f3c8675a6e8dedd4 /audio/spiralloops/patches
parentad3f9a41d80aaf4457caf06effc3791db6e82de4 (diff)
downloadpkgsrc-6fb96afadf2842034a4ad5956c346c2e801b0caf.tar.gz
Fix build error introduced by gcc3.
ftp://ftp.netbsd.org/pub/NetBSD/misc/agc/borked-current/audio/spiralloops/.broken.sys2.html
Diffstat (limited to 'audio/spiralloops/patches')
-rw-r--r--audio/spiralloops/patches/patch-af13
-rw-r--r--audio/spiralloops/patches/patch-ag13
-rw-r--r--audio/spiralloops/patches/patch-ah13
-rw-r--r--audio/spiralloops/patches/patch-ai13
-rw-r--r--audio/spiralloops/patches/patch-aj13
-rw-r--r--audio/spiralloops/patches/patch-ak22
-rw-r--r--audio/spiralloops/patches/patch-al13
-rw-r--r--audio/spiralloops/patches/patch-am13
-rw-r--r--audio/spiralloops/patches/patch-an13
-rw-r--r--audio/spiralloops/patches/patch-ao13
-rw-r--r--audio/spiralloops/patches/patch-ap13
11 files changed, 152 insertions, 0 deletions
diff --git a/audio/spiralloops/patches/patch-af b/audio/spiralloops/patches/patch-af
new file mode 100644
index 00000000000..a73dd4fc0d2
--- /dev/null
+++ b/audio/spiralloops/patches/patch-af
@@ -0,0 +1,13 @@
+$NetBSD: patch-af,v 1.1 2003/12/19 16:37:54 ben Exp $
+
+--- SpiralSound/SpiralInfo.h.orig 2001-04-19 13:48:12.000000000 -0700
++++ SpiralSound/SpiralInfo.h
+@@ -16,6 +16,8 @@
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ */
+
++using namespace std;
++
+ #include <iostream.h>
+ #include <string>
+ #include <stdlib.h>
diff --git a/audio/spiralloops/patches/patch-ag b/audio/spiralloops/patches/patch-ag
new file mode 100644
index 00000000000..afa0e55429f
--- /dev/null
+++ b/audio/spiralloops/patches/patch-ag
@@ -0,0 +1,13 @@
+$NetBSD: patch-ag,v 1.1 2003/12/19 16:37:54 ben Exp $
+
+--- SpiralSound/Sample.C.orig 2001-04-19 13:48:13.000000000 -0700
++++ SpiralSound/Sample.C
+@@ -20,7 +20,7 @@
+ #include "Sample.h"
+ #include "iostream.h"
+
+-Sample::Sample(int Len=0) :
++Sample::Sample(int Len) :
+ m_Data(NULL),
+ m_Length(0)
+ {
diff --git a/audio/spiralloops/patches/patch-ah b/audio/spiralloops/patches/patch-ah
new file mode 100644
index 00000000000..2b97fdbdc07
--- /dev/null
+++ b/audio/spiralloops/patches/patch-ah
@@ -0,0 +1,13 @@
+$NetBSD: patch-ah,v 1.1 2003/12/19 16:37:54 ben Exp $
+
+--- SpiralSound/SpiralInfo.C.orig 2001-04-19 13:48:13.000000000 -0700
++++ SpiralSound/SpiralInfo.C
+@@ -22,7 +22,7 @@
+
+ #include "SpiralInfo.h"
+
+-float RandFloat(float s=0.0f, float e=1.0f)
++float RandFloat(float s, float e)
+ {
+ return s+((rand()%10000/10000.0)*(e-s));
+ }
diff --git a/audio/spiralloops/patches/patch-ai b/audio/spiralloops/patches/patch-ai
new file mode 100644
index 00000000000..da97fd00e10
--- /dev/null
+++ b/audio/spiralloops/patches/patch-ai
@@ -0,0 +1,13 @@
+$NetBSD: patch-ai,v 1.1 2003/12/19 16:37:54 ben Exp $
+
+--- SpiralSound/Output.C.orig 2001-04-19 13:48:12.000000000 -0700
++++ SpiralSound/Output.C
+@@ -29,7 +29,7 @@ m_Channels(Channels)
+ m_Buffer.Zero();
+ }
+
+-void Output::Send(Sample &data, float LeftVolume=1, float RightVolume=1)
++void Output::Send(Sample &data, float LeftVolume, float RightVolume)
+ {
+ long temp;
+ int on=0;
diff --git a/audio/spiralloops/patches/patch-aj b/audio/spiralloops/patches/patch-aj
new file mode 100644
index 00000000000..3f132588210
--- /dev/null
+++ b/audio/spiralloops/patches/patch-aj
@@ -0,0 +1,13 @@
+$NetBSD: patch-aj,v 1.1 2003/12/19 16:37:54 ben Exp $
+
+--- SpiralSound/RiffWav.C.orig 2001-04-19 13:48:12.000000000 -0700
++++ SpiralSound/RiffWav.C
+@@ -55,7 +55,7 @@ WavFile::HeaderInfo::HeaderInfo() : Riff
+ #endif
+ }
+
+-int WavFile::Open(string FileName, Mode mode, Channels channels=MONO)
++int WavFile::Open(string FileName, Mode mode, Channels channels)
+ {
+ if (m_Stream!=NULL)
+ {
diff --git a/audio/spiralloops/patches/patch-ak b/audio/spiralloops/patches/patch-ak
new file mode 100644
index 00000000000..a2d5b0fc762
--- /dev/null
+++ b/audio/spiralloops/patches/patch-ak
@@ -0,0 +1,22 @@
+$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);
diff --git a/audio/spiralloops/patches/patch-al b/audio/spiralloops/patches/patch-al
new file mode 100644
index 00000000000..ca70e0ff316
--- /dev/null
+++ b/audio/spiralloops/patches/patch-al
@@ -0,0 +1,13 @@
+$NetBSD: patch-al,v 1.1 2003/12/19 16:37:54 ben Exp $
+
+--- GUI/OutputGUI.C.orig 2001-04-19 13:48:10.000000000 -0700
++++ GUI/OutputGUI.C
+@@ -26,7 +26,7 @@ OutputGUI::OutputGUI(Output *o)
+ if (!m_out) cerr<<"WARNING: Output not correctly set up"<<endl;
+ }
+
+-void OutputGUI::CreateGUI(int xoff=0, int yoff=0, char *name)
++void OutputGUI::CreateGUI(int xoff, int yoff, char *name)
+ {
+ Fl_Group* o = GUIMixGroup = new Fl_Group(xoff, yoff, 85, 110, name);
+ o->type(1);
diff --git a/audio/spiralloops/patches/patch-am b/audio/spiralloops/patches/patch-am
new file mode 100644
index 00000000000..7fb1da2dee7
--- /dev/null
+++ b/audio/spiralloops/patches/patch-am
@@ -0,0 +1,13 @@
+$NetBSD: patch-am,v 1.1 2003/12/19 16:37:54 ben Exp $
+
+--- GUI/Widgets/Fl_Knob.cxx.orig 2001-04-19 13:48:10.000000000 -0700
++++ GUI/Widgets/Fl_Knob.cxx
+@@ -4,7 +4,7 @@
+ #include <FL/fl_draw.H>
+ #include <math.h>
+
+-Fl_Knob::Fl_Knob(int xx,int yy,int ww,int hh,const char *l=0): Fl_Valuator(xx,yy,ww,hh,l) {
++Fl_Knob::Fl_Knob(int xx,int yy,int ww,int hh,const char *l): Fl_Valuator(xx,yy,ww,hh,l) {
+ a1 = 35;
+ a2 = 325;
+ _type = DOTLIN;
diff --git a/audio/spiralloops/patches/patch-an b/audio/spiralloops/patches/patch-an
new file mode 100644
index 00000000000..ff074dbbc12
--- /dev/null
+++ b/audio/spiralloops/patches/patch-an
@@ -0,0 +1,13 @@
+$NetBSD: patch-an,v 1.1 2003/12/19 16:37:54 ben Exp $
+
+--- GUI/Widgets/Fl_Loop.C.orig 2001-04-19 13:48:10.000000000 -0700
++++ GUI/Widgets/Fl_Loop.C
+@@ -30,7 +30,7 @@ static const float RADCONV = 0.017453292
+ static const int INDW = 3; // indicator width
+ static const int UPDATECYCLES = 4;
+
+-Fl_Loop::Fl_Loop(int x, int y, int w, int h, const char* label=0) :
++Fl_Loop::Fl_Loop(int x, int y, int w, int h, const char* label) :
+ Fl_Double_Window(x,y,w,h,label),
+ m_data(NULL),
+ m_MainWin(NULL),
diff --git a/audio/spiralloops/patches/patch-ao b/audio/spiralloops/patches/patch-ao
new file mode 100644
index 00000000000..0338a4fbf06
--- /dev/null
+++ b/audio/spiralloops/patches/patch-ao
@@ -0,0 +1,13 @@
+$NetBSD: patch-ao,v 1.1 2003/12/19 16:37:54 ben Exp $
+
+--- GUI/Widgets/Fl_LED_Button.cxx.orig 2001-04-19 13:48:11.000000000 -0700
++++ GUI/Widgets/Fl_LED_Button.cxx
+@@ -3,7 +3,7 @@
+ #include "Fl_LED_Button.H"
+ #include <FL/fl_draw.H>
+
+-Fl_LED_Button::Fl_LED_Button(int x, int y, int w, int h, const char* l=0):Fl_Light_Button(x,y,w,h,l) {
++Fl_LED_Button::Fl_LED_Button(int x, int y, int w, int h, const char* l):Fl_Light_Button(x,y,w,h,l) {
+ box(FL_NO_BOX);
+ down_box(FL_ROUND_DOWN_BOX);
+ selection_color(FL_RED);
diff --git a/audio/spiralloops/patches/patch-ap b/audio/spiralloops/patches/patch-ap
new file mode 100644
index 00000000000..28101b979be
--- /dev/null
+++ b/audio/spiralloops/patches/patch-ap
@@ -0,0 +1,13 @@
+$NetBSD: patch-ap,v 1.1 2003/12/19 16:37:54 ben Exp $
+
+--- GUI/Widgets/Fl_Trigger.C.orig 2001-05-07 13:43:34.000000000 -0700
++++ GUI/Widgets/Fl_Trigger.C
+@@ -27,7 +27,7 @@
+
+ static const float RADCONV = 0.017453292;
+
+-Fl_Trigger::Fl_Trigger(int x, int y, int w, int h, const char* label=0) :
++Fl_Trigger::Fl_Trigger(int x, int y, int w, int h, const char* label) :
+ Fl_Widget(x,y,w,h,label),
+ m_CentreX(0),
+ m_CentreY(0),