pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/spiralloops Fix build error introduced by gcc3.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1f7bada57313
branches:  trunk
changeset: 465023:1f7bada57313
user:      ben <ben%pkgsrc.org@localhost>
date:      Fri Dec 19 16:37:54 2003 +0000

description:
Fix build error introduced by gcc3.
ftp://ftp.netbsd.org/pub/NetBSD/misc/agc/borked-current/audio/spiralloops/.broken.sys2.html

diffstat:

 audio/spiralloops/distinfo         |  13 ++++++++++++-
 audio/spiralloops/patches/patch-af |  13 +++++++++++++
 audio/spiralloops/patches/patch-ag |  13 +++++++++++++
 audio/spiralloops/patches/patch-ah |  13 +++++++++++++
 audio/spiralloops/patches/patch-ai |  13 +++++++++++++
 audio/spiralloops/patches/patch-aj |  13 +++++++++++++
 audio/spiralloops/patches/patch-ak |  22 ++++++++++++++++++++++
 audio/spiralloops/patches/patch-al |  13 +++++++++++++
 audio/spiralloops/patches/patch-am |  13 +++++++++++++
 audio/spiralloops/patches/patch-an |  13 +++++++++++++
 audio/spiralloops/patches/patch-ao |  13 +++++++++++++
 audio/spiralloops/patches/patch-ap |  13 +++++++++++++
 12 files changed, 164 insertions(+), 1 deletions(-)

diffs (220 lines):

diff -r 24d932efbe2e -r 1f7bada57313 audio/spiralloops/distinfo
--- a/audio/spiralloops/distinfo        Fri Dec 19 15:43:31 2003 +0000
+++ b/audio/spiralloops/distinfo        Fri Dec 19 16:37:54 2003 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.4 2003/07/22 20:36:37 jmmv Exp $
+$NetBSD: distinfo,v 1.5 2003/12/19 16:37:54 ben Exp $
 
 SHA1 (SpiralLoops-2.0.0.tar.gz) = 47d9caa17f20827abef7708bff212bb3fad58a72
 Size (SpiralLoops-2.0.0.tar.gz) = 85458 bytes
@@ -7,3 +7,14 @@
 SHA1 (patch-ac) = 04946ad637a6e0a371e604ffaadd15c119f796da
 SHA1 (patch-ad) = 09c1734e875335dae92afef7bbbd4fdc6821eb1f
 SHA1 (patch-ae) = 757ca5ca1c4f50a7848c947962efbc0148f1ccdc
+SHA1 (patch-af) = 188cbce0dfad25fe617811000487821950f78d54
+SHA1 (patch-ag) = 1ad208ec5e7eeeee91ab1e5acb359f24858c4d39
+SHA1 (patch-ah) = f57d79b3467df16b4e6e0776f3457f97e5570210
+SHA1 (patch-ai) = 6329de61c54ee353540a48b5b5d7e6bdc5b6e44b
+SHA1 (patch-aj) = 19c1d640a0c9ec3f6f873cd203c9c61e89eb824a
+SHA1 (patch-ak) = 94e4650bc10a7073718a83b27ab47e217cf15f85
+SHA1 (patch-al) = 2189bef16fa9099497667fdfd7b5e54c4fc4bb48
+SHA1 (patch-am) = acf0ff58a76e4e2f813ef17e431012af84cc9e8b
+SHA1 (patch-an) = f86cb89933e7c1a57d696283e398a40a579c04f1
+SHA1 (patch-ao) = fd5599e331b0966cdf85cf7ad9a7b7fd030827e9
+SHA1 (patch-ap) = adde17445fa15afa122dc1addf0c06f6504bef0c
diff -r 24d932efbe2e -r 1f7bada57313 audio/spiralloops/patches/patch-af
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/spiralloops/patches/patch-af        Fri Dec 19 16:37:54 2003 +0000
@@ -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 -r 24d932efbe2e -r 1f7bada57313 audio/spiralloops/patches/patch-ag
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/spiralloops/patches/patch-ag        Fri Dec 19 16:37:54 2003 +0000
@@ -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 -r 24d932efbe2e -r 1f7bada57313 audio/spiralloops/patches/patch-ah
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/spiralloops/patches/patch-ah        Fri Dec 19 16:37:54 2003 +0000
@@ -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 -r 24d932efbe2e -r 1f7bada57313 audio/spiralloops/patches/patch-ai
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/spiralloops/patches/patch-ai        Fri Dec 19 16:37:54 2003 +0000
@@ -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 -r 24d932efbe2e -r 1f7bada57313 audio/spiralloops/patches/patch-aj
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/spiralloops/patches/patch-aj        Fri Dec 19 16:37:54 2003 +0000
@@ -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 -r 24d932efbe2e -r 1f7bada57313 audio/spiralloops/patches/patch-ak
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/spiralloops/patches/patch-ak        Fri Dec 19 16:37:54 2003 +0000
@@ -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 -r 24d932efbe2e -r 1f7bada57313 audio/spiralloops/patches/patch-al
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/spiralloops/patches/patch-al        Fri Dec 19 16:37:54 2003 +0000
@@ -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 -r 24d932efbe2e -r 1f7bada57313 audio/spiralloops/patches/patch-am
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/spiralloops/patches/patch-am        Fri Dec 19 16:37:54 2003 +0000
@@ -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 -r 24d932efbe2e -r 1f7bada57313 audio/spiralloops/patches/patch-an
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/spiralloops/patches/patch-an        Fri Dec 19 16:37:54 2003 +0000
@@ -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 -r 24d932efbe2e -r 1f7bada57313 audio/spiralloops/patches/patch-ao
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/spiralloops/patches/patch-ao        Fri Dec 19 16:37:54 2003 +0000
@@ -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 -r 24d932efbe2e -r 1f7bada57313 audio/spiralloops/patches/patch-ap
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/spiralloops/patches/patch-ap        Fri Dec 19 16:37:54 2003 +0000
@@ -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),



Home | Main Index | Thread Index | Old Index