tags 667234 + patch
thanks

the attached patch fixes the build failure seen with GCC 4.7. However the build
fails for another unrelated reason, reported in issue #673394
diff -Nru kwave-0.8.7-1/debian/changelog kwave-0.8.7-1/debian/changelog
--- kwave-0.8.7-1/debian/changelog      2012-01-26 02:33:31.000000000 +0000
+++ kwave-0.8.7-1/debian/changelog      2012-05-28 10:28:45.000000000 +0000
@@ -1,3 +1,10 @@
+kwave (0.8.7-1-2.1) unstable; urgency=low
+
+  * Non maintainer upload
+  * Fix build failure with GCC 4.7. Closes: #667234.
+
+ -- Matthias Klose <d...@debian.org>  Tue, 22 May 2012 11:30:56 +0000
+
 kwave (0.8.7-1-2) unstable; urgency=low
 
   * Upload to unstable 
diff -Nru kwave-0.8.7-1/debian/patches/g++-4.7.patch 
kwave-0.8.7-1/debian/patches/g++-4.7.patch
--- kwave-0.8.7-1/debian/patches/g++-4.7.patch  1970-01-01 00:00:00.000000000 
+0000
+++ kwave-0.8.7-1/debian/patches/g++-4.7.patch  2012-05-28 10:28:45.000000000 
+0000
@@ -0,0 +1,13 @@
+Index: kwave-0.8.7-1/libkwave/KwaveMultiTrackSource.h
+===================================================================
+--- kwave-0.8.7-1.orig/libkwave/KwaveMultiTrackSource.h        2011-11-16 
13:14:30.000000000 +0000
++++ kwave-0.8.7-1/libkwave/KwaveMultiTrackSource.h     2012-05-22 
11:30:48.552962747 +0000
+@@ -169,7 +169,7 @@
+           :Kwave::MultiTrackSource<SOURCE, false>(0, parent)
+       {
+           for (unsigned int i=0; i < tracks; i++)
+-              insert(i, new SOURCE());
++              this->insert(i, new SOURCE());
+       }
+ 
+       /** Destructor */
diff -Nru kwave-0.8.7-1/debian/patches/series 
kwave-0.8.7-1/debian/patches/series
--- kwave-0.8.7-1/debian/patches/series 2012-01-26 01:59:45.000000000 +0000
+++ kwave-0.8.7-1/debian/patches/series 2012-05-28 10:28:45.000000000 +0000
@@ -1,2 +1,3 @@
 spelling-error-in-binary.diff
 07-no-rpath
+g++-4.7.patch
_______________________________________________
pkg-kde-extras mailing list
pkg-kde-extras@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-kde-extras

Reply via email to