[med-svn] [gdcm] 05/06: Add patch to not link against java modules

Gert Wollny gert-guest at moszumanska.debian.org
Sat Feb 27 21:44:55 UTC 2016


This is an automated email from the git hooks/post-receive script.

gert-guest pushed a commit to branch master
in repository gdcm.

commit a8eb2fceded0c638f746d0dd193bdbf0df5c3748
Author: Gert Wollny <gw.fossdev at gmail.com>
Date:   Sat Feb 27 20:10:53 2016 +0000

    Add patch to not link against java modules
---
 debian/patches/07_don_t_link_vtkjava_modules.patch | 15 +++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 16 insertions(+)

diff --git a/debian/patches/07_don_t_link_vtkjava_modules.patch b/debian/patches/07_don_t_link_vtkjava_modules.patch
new file mode 100644
index 0000000..62a10a3
--- /dev/null
+++ b/debian/patches/07_don_t_link_vtkjava_modules.patch
@@ -0,0 +1,15 @@
+--- a/Utilities/VTK/CMakeLists.txt
++++ b/Utilities/VTK/CMakeLists.txt
+@@ -670,9 +670,9 @@
+     endif()
+     target_link_libraries(${VTKGDCM_NAME}Java ${VTKGDCM_NAME})
+     set_property(TARGET ${VTKGDCM_NAME}Java PROPERTY NO_SONAME 1)
+-    foreach(c ${vtkgdcm_LIBS})
+-      target_link_libraries(${VTKGDCM_NAME}Java ${c}Java)
+-    endforeach()
++#    foreach(c ${vtkgdcm_LIBS})
++#      target_link_libraries(${VTKGDCM_NAME}Java ${c}Java)
++#    endforeach()
+     # Create the jar file:
+     # I am pretty sure this *.java thingy will bite me one day, when someone will try
+     # to recompile from an existing build tree with invalid generated *.java file...
diff --git a/debian/patches/series b/debian/patches/series
index fe7970b..317d8d5 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@
 04_multiarch.patch
 05_add_global_doxydoc_target.patch
 06_dcm_group2_buggyfiles_fallback.patch
+07_don_t_link_vtkjava_modules.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/gdcm.git



More information about the debian-med-commit mailing list