OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

205 lines
7.2 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../rezound/gcc41.patch
  5. # Copyright (C) 2006 The T2 SDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- SDE-COPYRIGHT-NOTE-END ---
  16. --- rezound-0.12.2beta/src/misc/CNestedDataFile/anytype.h.vanilla 2006-03-04 19:55:28.559323250 +0100
  17. +++ rezound-0.12.2beta/src/misc/CNestedDataFile/anytype.h 2006-03-04 20:08:36.228549500 +0100
  18. @@ -93,6 +93,7 @@
  19. // I really wished that I didn't have to explicitly use 'vector' in the definition; I'd have like to use any container with an iterator interface
  20. #include <CMutex.h>
  21. #include <CNestedDataFile/CNestedDataFile.h>
  22. +extern int cfg_parse();
  23. template<class Type> static const vector<Type> &string_to_anytype(const string &str,vector<Type> &ret)
  24. {
  25. // This function has to parse '{' ..., ... '}' where the ... can contain nested array
  26. --- rezound-0.12.2beta/src/frontend_fox/CMetersWindow.cpp.vanilla 2006-03-05 15:37:25.240988250 +0100
  27. +++ rezound-0.12.2beta/src/frontend_fox/CMetersWindow.cpp 2006-03-05 15:40:24.508191750 +0100
  28. @@ -82,7 +82,7 @@
  29. {
  30. FXDECLARE(CLevelMeter);
  31. public:
  32. - CLevelMeter::CLevelMeter(FXComposite *parent) :
  33. + CLevelMeter(FXComposite *parent) :
  34. FXHorizontalFrame(parent,LAYOUT_FILL_X|LAYOUT_FIX_HEIGHT|LAYOUT_TOP | FRAME_NONE,0,0,0,0, 0,0,0,0, 0,0),
  35. statusFont(getApp()->getNormalFont()),
  36. canvas(new FXCanvas(this,this,ID_CANVAS,FRAME_NONE | LAYOUT_FILL_X|LAYOUT_FILL_Y)),
  37. @@ -121,7 +121,7 @@
  38. }
  39. - CLevelMeter::~CLevelMeter()
  40. + ~CLevelMeter()
  41. {
  42. delete statusFont;
  43. }
  44. @@ -133,7 +133,7 @@
  45. setHeight(max(statusFont->getFontHeight(),MIN_METER_HEIGHT)); // make meter only as tall as necessary (also with a defined minimum)
  46. }
  47. - long CLevelMeter::onCanvasPaint(FXObject *sender,FXSelector sel,void *ptr)
  48. + long onCanvasPaint(FXObject *sender,FXSelector sel,void *ptr)
  49. {
  50. FXDCWindow dc(canvas);
  51. @@ -327,7 +327,7 @@
  52. {
  53. FXDECLARE(CBalanceMeter);
  54. public:
  55. - CBalanceMeter::CBalanceMeter(FXComposite *parent) :
  56. + CBalanceMeter(FXComposite *parent) :
  57. FXHorizontalFrame(parent,LAYOUT_FILL_X|LAYOUT_FIX_HEIGHT | FRAME_NONE, 0,0,0,0, 0,0,0,0, 0,0),
  58. statusFont(getApp()->getNormalFont()),
  59. leftLabel(new FXLabel(this,"-1.0")),
  60. @@ -361,7 +361,7 @@
  61. }
  62. - CBalanceMeter::~CBalanceMeter()
  63. + ~CBalanceMeter()
  64. {
  65. delete statusFont;
  66. }
  67. @@ -372,7 +372,7 @@
  68. setHeight(max(statusFont->getFontHeight(),MIN_METER_HEIGHT)); // make meter only as tall as necessary (also with a defined minimum)
  69. }
  70. - long CBalanceMeter::onCanvasPaint(FXObject *sender,FXSelector sel,void *ptr)
  71. + long onCanvasPaint(FXObject *sender,FXSelector sel,void *ptr)
  72. {
  73. FXDCWindow dc(canvas);
  74. @@ -478,7 +478,7 @@
  75. {
  76. FXDECLARE(CStereoPhaseMeter);
  77. public:
  78. - CStereoPhaseMeter::CStereoPhaseMeter(FXComposite *parent,sample_t *_samplingBuffer,size_t _samplingNFrames,unsigned _samplingNChannels,unsigned _samplingLeftChannel,unsigned _samplingRightChannel) :
  79. + CStereoPhaseMeter(FXComposite *parent,sample_t *_samplingBuffer,size_t _samplingNFrames,unsigned _samplingNChannels,unsigned _samplingLeftChannel,unsigned _samplingRightChannel) :
  80. FXHorizontalFrame(parent,LAYOUT_RIGHT|LAYOUT_FIX_WIDTH|LAYOUT_FILL_Y, 0,0,0,0, 0,0,0,0, 0,0),
  81. canvasFrame(new FXVerticalFrame(this,LAYOUT_FILL_X|LAYOUT_FILL_Y|FRAME_SUNKEN|FRAME_THICK,0,0,0,0, 2,2,2,2, 0,1)),
  82. canvas(new FXBackBufferedCanvas(canvasFrame,this,ID_CANVAS,LAYOUT_FILL_X|LAYOUT_FILL_Y)),
  83. @@ -519,19 +519,19 @@
  84. statusFont=new FXFont(getApp(),d);
  85. }
  86. - CStereoPhaseMeter::~CStereoPhaseMeter()
  87. + ~CStereoPhaseMeter()
  88. {
  89. delete statusFont;
  90. }
  91. - long CStereoPhaseMeter::onZoomDial(FXObject *sender,FXSelector sel,void *ptr)
  92. + long onZoomDial(FXObject *sender,FXSelector sel,void *ptr)
  93. {
  94. zoom=((float)zoomDial->getValue())/100.0f;
  95. canvas->update(); // not really necessary since we're doing it several times a second anyway
  96. return 1;
  97. }
  98. - long CStereoPhaseMeter::onResize(FXObject *sender,FXSelector sel,void *ptr)
  99. + long onResize(FXObject *sender,FXSelector sel,void *ptr)
  100. {
  101. // make square
  102. resize(getHeight()+getHSpacing()+zoomDial->getWidth(),getHeight());
  103. @@ -540,7 +540,7 @@
  104. return 1;
  105. }
  106. - long CStereoPhaseMeter::onCanvasPaint(FXObject *sender,FXSelector sel,void *ptr)
  107. + long onCanvasPaint(FXObject *sender,FXSelector sel,void *ptr)
  108. {
  109. FXColor *data=(FXColor *)canvas->getBackBufferData();
  110. @@ -730,7 +730,7 @@
  111. {
  112. FXDECLARE(CAnalyzer);
  113. public:
  114. - CAnalyzer::CAnalyzer(FXComposite *parent) :
  115. + CAnalyzer(FXComposite *parent) :
  116. FXHorizontalFrame(parent,LAYOUT_RIGHT|LAYOUT_FILL_Y, 0,0,0,0, 0,0,0,0, 0,0),
  117. canvasFrame(new FXVerticalFrame(this,LAYOUT_FIX_WIDTH|LAYOUT_FILL_Y|FRAME_SUNKEN|FRAME_THICK,0,0,0,0, 2,2,2,2, 0,1)),
  118. canvas(new FXBackBufferedCanvas(canvasFrame,this,ID_CANVAS,LAYOUT_FILL_X|LAYOUT_FILL_Y)),
  119. @@ -763,25 +763,25 @@
  120. canvasFrame->setWidth(150);
  121. }
  122. - CAnalyzer::~CAnalyzer()
  123. + ~CAnalyzer()
  124. {
  125. delete statusFont;
  126. }
  127. - long CAnalyzer::onZoomDial(FXObject *sender,FXSelector sel,void *ptr)
  128. + long onZoomDial(FXObject *sender,FXSelector sel,void *ptr)
  129. {
  130. zoom=zoomDial->getValue();
  131. canvas->update(); // not really necessary since we're doing it several times a second anyway
  132. return 1;
  133. }
  134. - long CAnalyzer::onZoomDialDefault(FXObject *sender,FXSelector sel,void *ptr)
  135. + long onZoomDialDefault(FXObject *sender,FXSelector sel,void *ptr)
  136. {
  137. zoomDial->setValue(25);
  138. return onZoomDial(sender,sel,ptr);
  139. }
  140. - long CAnalyzer::onCanvasPaint(FXObject *sender,FXSelector sel,void *ptr)
  141. + long onCanvasPaint(FXObject *sender,FXSelector sel,void *ptr)
  142. {
  143. FXDC &dc=*((FXDC*)ptr); // back buffered canvases send the DC to draw onto in ptr
  144. @@ -865,19 +865,19 @@
  145. return 1;
  146. }
  147. - long CAnalyzer::onCanvasEnter(FXObject *sender,FXSelector sel,void *ptr)
  148. + long onCanvasEnter(FXObject *sender,FXSelector sel,void *ptr)
  149. {
  150. drawBarFreq=true;
  151. return onCanvasMotion(sender,sel,ptr);
  152. }
  153. - long CAnalyzer::onCanvasLeave(FXObject *sender,FXSelector sel,void *ptr)
  154. + long onCanvasLeave(FXObject *sender,FXSelector sel,void *ptr)
  155. {
  156. drawBarFreq=false;
  157. return onCanvasMotion(sender,sel,ptr);
  158. }
  159. - long CAnalyzer::onCanvasMotion(FXObject *sender,FXSelector sel,void *ptr)
  160. + long onCanvasMotion(FXObject *sender,FXSelector sel,void *ptr)
  161. {
  162. barFreqIndex=((FXEvent *)ptr)->win_x/ANALYZER_BAR_WIDTH;
  163. return 1;
  164. --- rezound-0.12.2beta/src/frontend_fox/FileActionDialogs.h.vanilla 2006-03-05 15:35:42.134544500 +0100
  165. +++ rezound-0.12.2beta/src/frontend_fox/FileActionDialogs.h 2006-03-05 15:36:12.788460250 +0100
  166. @@ -87,7 +87,7 @@
  167. long onDetectDeviceButton(FXObject *object,FXSelector sel,void *ptr);
  168. protected:
  169. - CBurnToCDDialog::CBurnToCDDialog() {}
  170. + CBurnToCDDialog() {}
  171. const string getExplanation() const;
  172. };
  173. @@ -111,7 +111,7 @@
  174. long onRemoveButton(FXObject *object,FXSelector sel,void *ptr);
  175. protected:
  176. - CRunMacroDialog::CRunMacroDialog() {}
  177. + CRunMacroDialog() {}
  178. };