[med-svn] r17522 - trunk/packages/insighttoolkit/trunk/debian/patches

Gert Wollny gert-guest at moszumanska.debian.org
Thu Jul 24 16:00:48 UTC 2014


Author: gert-guest
Date: 2014-07-24 16:00:48 +0000 (Thu, 24 Jul 2014)
New Revision: 17522

Added:
   trunk/packages/insighttoolkit/trunk/debian/patches/0002_dont_test_swig_version_before_looking_for_it.patch
Log:
add the actual patch

Added: trunk/packages/insighttoolkit/trunk/debian/patches/0002_dont_test_swig_version_before_looking_for_it.patch
===================================================================
--- trunk/packages/insighttoolkit/trunk/debian/patches/0002_dont_test_swig_version_before_looking_for_it.patch	                        (rev 0)
+++ trunk/packages/insighttoolkit/trunk/debian/patches/0002_dont_test_swig_version_before_looking_for_it.patch	2014-07-24 16:00:48 UTC (rev 17522)
@@ -0,0 +1,18 @@
+diff --git a/Wrapping/Generators/SwigInterface/CMakeLists.txt b/Wrapping/Generators/SwigInterface/CMakeLists.txt
+index 6e77848..a8e51ca 100644
+--- a/Wrapping/Generators/SwigInterface/CMakeLists.txt
++++ b/Wrapping/Generators/SwigInterface/CMakeLists.txt
+@@ -7,13 +7,6 @@ find_package(PythonInterp REQUIRED)
+ 
+ option(ITK_USE_SYSTEM_SWIG "Use system swig. If OFF, swig is built as an external project." OFF)
+ 
+-# Require at least SWIG 3.0.0
+-if(ITK_USE_SYSTEM_SWIG)
+-  if(${SWIG_VERSION} VERSION_LESS 3.0.0)
+-    message(WARNING "Swig version less than 3.0.0: \"${SWIG_VERSION}\".")
+-  endif()
+-endif()
+-
+ set(swig_version 3.0.2)
+ set(swig_md5     62f9b0d010cef36a13a010dc530d0d41)
+ set(swigwin_md5  3f18de4fc09ab9abb0d3be37c11fbc8f)




More information about the debian-med-commit mailing list