[med-svn] r20024 - trunk/packages/minc/libminc/trunk/debian/patches

Steven Michael Robbins smr at moszumanska.debian.org
Thu Sep 3 10:26:34 UTC 2015


Author: smr
Date: 2015-09-03 10:26:33 +0000 (Thu, 03 Sep 2015)
New Revision: 20024

Added:
   trunk/packages/minc/libminc/trunk/debian/patches/fix-soversion-generation
Modified:
   trunk/packages/minc/libminc/trunk/debian/patches/series
Log:
Fix SOVERSION generation.

Added: trunk/packages/minc/libminc/trunk/debian/patches/fix-soversion-generation
===================================================================
--- trunk/packages/minc/libminc/trunk/debian/patches/fix-soversion-generation	                        (rev 0)
+++ trunk/packages/minc/libminc/trunk/debian/patches/fix-soversion-generation	2015-09-03 10:26:33 UTC (rev 20024)
@@ -0,0 +1,27 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 2c0af84..2f23bf1 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -356,7 +356,6 @@ ENDIF(UNIX)
+ 
+ SET_TARGET_PROPERTIES(${LIBMINC_LIBRARY} 
+  PROPERTIES 
+-  VERSION ${LIBMINC_PACKAGE_VERSION} 
+   SOVERSION ${LIBMINC_SOVERSION})
+ 
+ IF(LIBMINC_MINC1_SUPPORT)
+diff --git a/ezminc/CMakeLists.txt b/ezminc/CMakeLists.txt
+index 96fa780..a408b3f 100644
+--- a/ezminc/CMakeLists.txt
++++ b/ezminc/CMakeLists.txt
+@@ -22,6 +22,10 @@ INCLUDE_DIRECTORIES( ${CMAKE_CURRENT_SOURCE_DIR})
+ ADD_LIBRARY( minc_io ${LIBRARY_TYPE} ${MINC_IO_HEADERS} ${MINC_IO_SRC})
+ TARGET_LINK_LIBRARIES(minc_io ${LIBMINC_LIBRARIES})
+ 
++SET_TARGET_PROPERTIES(minc_io
++ PROPERTIES 
++  SOVERSION ${LIBMINC_SOVERSION})
++
+ IF(LIBMINC_INSTALL_LIB_DIR)
+   INSTALL(TARGETS 
+            minc_io 

Modified: trunk/packages/minc/libminc/trunk/debian/patches/series
===================================================================
--- trunk/packages/minc/libminc/trunk/debian/patches/series	2015-09-01 09:39:41 UTC (rev 20023)
+++ trunk/packages/minc/libminc/trunk/debian/patches/series	2015-09-03 10:26:33 UTC (rev 20024)
@@ -1 +1,2 @@
 build-using-system-find-dot-cmake
+fix-soversion-generation




More information about the debian-med-commit mailing list