tags 417704 + patch
thanks

Hi,

Attached is the diff for my stk 4.2.0-9.2 NMU.
diff -u stk-4.2.0/debian/patches/01_includes_gcc43.patch stk-4.2.0/debian/patches/01_includes_gcc43.patch
--- stk-4.2.0/debian/patches/01_includes_gcc43.patch
+++ stk-4.2.0/debian/patches/01_includes_gcc43.patch
@@ -1,12 +1,62 @@
-diff -Nur stk-4.2.0.old/src/RtAudio.cpp stk-4.2.0/src/RtAudio.cpp
 --- stk-4.2.0.old/src/RtAudio.cpp	2004-10-04 03:24:40.000000000 +0200
 +++ stk-4.2.0/src/RtAudio.cpp	2008-01-16 11:59:02.000000000 +0100
-@@ -41,6 +41,8 @@
+@@ -41,6 +41,9 @@
  
  #include "RtAudio.h"
  #include <iostream>
 +#include <cstdlib>
 +#include <climits>
++#include <cstring>
  #include <stdio.h>
  
  // Static variable definitions.
+--- stk-4.2.0.old/src/WvIn.cpp	2004-10-04 03:24:40.000000000 +0200
++++ stk-4.2.0/src/WvIn.cpp	2008-01-16 11:59:02.000000000 +0100
+@@ -45,6 +45,7 @@
+ #include "WvIn.h"
+ #include <sys/stat.h>
+ #include <sys/types.h>
++#include <cstring>
+ #include <math.h>
+
+ WvIn :: WvIn()
+--- stk-4.2.0.old/src/WvOut.cpp	2004-10-04 03:24:40.000000000 +0200
++++ stk-4.2.0/src/WvOut.cpp	2008-01-16 11:59:02.000000000 +0100
+@@ -35,6 +35,7 @@
+
+ #include "WvOut.h"
+ #include <math.h>
++#include <cstring>
+
+ const WvOut::FILE_TYPE WvOut :: WVOUT_RAW = 1;
+ const WvOut::FILE_TYPE WvOut :: WVOUT_WAV = 2;
+--- stk-4.2.0.old/src/Shakers.cpp	2004-10-04 03:24:40.000000000 +0200
++++ stk-4.2.0/src/Shakers.cpp	2008-01-16 11:59:02.000000000 +0100
+@@ -54,6 +54,7 @@
+
+ #include "Stk.h"
+ #include <math.h>
++#include <cstring>
+
+ int my_random(int max) //  Return Random Int Between 0 and max
+ {
+--- stk-4.2.0.old/src/VoicForm.cpp	2004-10-04 03:24:40.000000000 +0200
++++ stk-4.2.0/src/VoicForm.cpp	2008-01-16 11:59:02.000000000 +0100
+@@ -30,6 +30,7 @@
+ #include "SKINI.msg"
+
+ #include <math.h>
++#include <cstring>
+
+ VoicForm :: VoicForm() : Instrmnt()
+ {
+--- stk-4.2.0.old/src/MidiFileIn.cpp	2004-10-04 03:24:40.000000000 +0200
++++ stk-4.2.0/src/MidiFileIn.cpp	2008-01-16 11:59:02.000000000 +0100
+@@ -17,6 +17,7 @@
+
+ #include "MidiFileIn.h"
+ #include <iostream>
++#include <cstring>
+
+ MidiFileIn :: MidiFileIn( std::string fileName )
+ {
diff -u stk-4.2.0/debian/changelog stk-4.2.0/debian/changelog
--- stk-4.2.0/debian/changelog
+++ stk-4.2.0/debian/changelog
@@ -1,3 +1,10 @@
+stk (4.2.0-9.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTBFS with GCC 4.3 (Closes: #417704).
+
+ -- Luk Claes <[EMAIL PROTECTED]>  Sat, 15 Mar 2008 16:55:36 +0000
+
 stk (4.2.0-9.1) unstable; urgency=low
 
   * Non-maintainer upload.

Reply via email to