[Debian-med-packaging] Bug#667208: add patch

Matthias Klose doko at debian.org
Fri May 4 07:13:03 UTC 2012


tags 667208 + patch
thanks
-------------- next part --------------
diff -Nru imagevis3d-2.0.1/debian/changelog imagevis3d-2.0.1/debian/changelog
--- imagevis3d-2.0.1/debian/changelog	2011-12-20 13:00:45.000000000 +0000
+++ imagevis3d-2.0.1/debian/changelog	2012-05-04 06:32:37.000000000 +0000
@@ -1,3 +1,10 @@
+imagevis3d (2.0.1-4.1) unstable; urgency=low
+
+  * Non maintainer upload.
+  * Fix build failure with GCC 4.7. Closes: #667208.
+
+ -- Matthias Klose <doko at debian.org>  Fri, 04 May 2012 08:31:57 +0200
+
 imagevis3d (2.0.1-4) unstable; urgency=low
 
   * Fix compilation errors on hurd/kFreeBSD.
diff -Nru imagevis3d-2.0.1/debian/patches/ftbfs-gcc-4.7.diff imagevis3d-2.0.1/debian/patches/ftbfs-gcc-4.7.diff
--- imagevis3d-2.0.1/debian/patches/ftbfs-gcc-4.7.diff	1970-01-01 00:00:00.000000000 +0000
+++ imagevis3d-2.0.1/debian/patches/ftbfs-gcc-4.7.diff	2012-05-04 06:33:21.000000000 +0000
@@ -0,0 +1,13 @@
+Index: imagevis3d-2.0.1/UVFReader/main.cpp
+===================================================================
+--- imagevis3d-2.0.1.orig/UVFReader/main.cpp	2011-12-12 11:16:18.000000000 +0000
++++ imagevis3d-2.0.1/UVFReader/main.cpp	2012-05-04 06:33:20.011756141 +0000
+@@ -431,7 +431,7 @@
+               uvfFile.Close();
+               return EXIT_FAILURE;
+             }
+-            size_t j = 0;
++            j = 0;
+             for (size_t y = 0;y<ulTransformDimension;y++) {
+               cout << "        ";
+               for (size_t x = 0;x<ulTransformDimension;x++) {
diff -Nru imagevis3d-2.0.1/debian/patches/series imagevis3d-2.0.1/debian/patches/series
--- imagevis3d-2.0.1/debian/patches/series	2011-12-20 12:55:27.000000000 +0000
+++ imagevis3d-2.0.1/debian/patches/series	2012-05-04 06:32:40.000000000 +0000
@@ -15,3 +15,4 @@
 warning.patch
 manual.patch
 kfreebsd.patch
+ftbfs-gcc-4.7.diff


More information about the Debian-med-packaging mailing list