[med-svn] r22628 - trunk/packages/elastix/trunk/debian/patches
Gert Wollny
gert-guest at moszumanska.debian.org
Mon Jul 25 12:39:58 UTC 2016
Author: gert-guest
Date: 2016-07-25 12:39:57 +0000 (Mon, 25 Jul 2016)
New Revision: 22628
Added:
trunk/packages/elastix/trunk/debian/patches/itk4.10.patch
Modified:
trunk/packages/elastix/trunk/debian/patches/series
Log:
Add patch to build against ITK 4.10
Added: trunk/packages/elastix/trunk/debian/patches/itk4.10.patch
===================================================================
--- trunk/packages/elastix/trunk/debian/patches/itk4.10.patch (rev 0)
+++ trunk/packages/elastix/trunk/debian/patches/itk4.10.patch 2016-07-25 12:39:57 UTC (rev 22628)
@@ -0,0 +1,17 @@
+Description: Fix compilation with ITK 4.10
+Origin: upstream
+
+diff --git a/src/Core/Kernel/elxElastixMain.cxx b/src/Core/Kernel/elxElastixMain.cxx
+index 4a7ea4d..5f9a260 100644
+--- a/src/Core/Kernel/elxElastixMain.cxx
++++ b/src/Core/Kernel/elxElastixMain.cxx
+@@ -1036,7 +1036,7 @@ ElastixMain::GetImageInformationFromFile(
+ testReader->SetFileName( filename.c_str() );
+
+ /** Generate all information. */
+- testReader->GenerateOutputInformation();
++ testReader->UpdateOutputInformation();
+
+ /** Extract the required information. */
+ itk::ImageIOBase::Pointer testImageIO = testReader->GetImageIO();
+
Modified: trunk/packages/elastix/trunk/debian/patches/series
===================================================================
--- trunk/packages/elastix/trunk/debian/patches/series 2016-07-24 06:32:48 UTC (rev 22627)
+++ trunk/packages/elastix/trunk/debian/patches/series 2016-07-25 12:39:57 UTC (rev 22628)
@@ -3,3 +3,4 @@
doxygen_use_epoch_for_data_if_given.patch
fix-cast-error.patch
fix-compilation-with-std-c++11.patch
+itk4.10.patch
More information about the debian-med-commit
mailing list