[med-svn] r17406 - trunk/packages/vtk-dicom/trunk/debian/patches

Mathieu Malaterre malat at moszumanska.debian.org
Fri Jul 4 09:44:30 UTC 2014


Author: malat
Date: 2014-07-04 09:44:30 +0000 (Fri, 04 Jul 2014)
New Revision: 17406

Added:
   trunk/packages/vtk-dicom/trunk/debian/patches/underlink.patch
Modified:
   trunk/packages/vtk-dicom/trunk/debian/patches/series
Log:
reimport old patch

Modified: trunk/packages/vtk-dicom/trunk/debian/patches/series
===================================================================
--- trunk/packages/vtk-dicom/trunk/debian/patches/series	2014-07-04 09:11:53 UTC (rev 17405)
+++ trunk/packages/vtk-dicom/trunk/debian/patches/series	2014-07-04 09:44:30 UTC (rev 17406)
@@ -1 +1,2 @@
 current.patch
+underlink.patch

Added: trunk/packages/vtk-dicom/trunk/debian/patches/underlink.patch
===================================================================
--- trunk/packages/vtk-dicom/trunk/debian/patches/underlink.patch	                        (rev 0)
+++ trunk/packages/vtk-dicom/trunk/debian/patches/underlink.patch	2014-07-04 09:44:30 UTC (rev 17406)
@@ -0,0 +1,24 @@
+Description: fix underlinking issues
+Author: Mathieu Malaterre <malat at debian.org>
+Forwarded: no
+
+Index: vtk-dicom-0.5.0/CMakeLists.txt
+===================================================================
+--- vtk-dicom-0.5.0.orig/CMakeLists.txt	2014-07-04 11:42:27.000000000 +0200
++++ vtk-dicom-0.5.0/CMakeLists.txt	2014-07-04 11:44:03.578842062 +0200
+@@ -334,6 +334,7 @@
+ 
+ # Wrappers
+ if(BUILD_PYTHON_WRAPPERS)
++  find_package(PythonLibs REQUIRED)
+   set(vtk-module ${LIB_NAME})
+   set(XY) # Get python version, e.g. 27 for python 2.7
+   if(vtkPython_LIBRARIES)
+@@ -374,6 +375,7 @@
+     OUTPUT_NAME "${LIB_PYTHON_OUTPUT_NAME}")
+   target_link_libraries(${LIB_PYTHON_NAME}
+     ${LIB_NAME} ${LIB_PYTHON_LIBS} ${VTK_PYTHON_LIBRARIES})
++  target_link_libraries(${LIB_PYTHON_NAME} ${PYTHON_LIBRARY})
+   if(USE_DCMTK AND DCMTK_charls_LIBRARY)
+     target_link_libraries(${LIB_PYTHON_NAME} ${DCMTK_charls_LIBRARY})
+   endif()




More information about the debian-med-commit mailing list