[roscpp-core] 01/02: Add patch for cpp_common SONAME

Jochen Sprickerhof jspricke-guest at moszumanska.debian.org
Tue Dec 9 16:51:29 UTC 2014


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

jspricke-guest pushed a commit to branch master
in repository roscpp-core.

commit c9c345fd6fd0cb53c6868f4a178399792c9b3851
Author: Jochen Sprickerhof <git at jochen.sprickerhof.de>
Date:   Tue Dec 9 17:49:19 2014 +0100

    Add patch for cpp_common SONAME
---
 ...Add-Debian-specific-SOVERSION-to-cpp_common.patch | 20 ++++++++++++++++++++
 debian/patches/series                                |  1 +
 2 files changed, 21 insertions(+)

diff --git a/debian/patches/0002-Add-Debian-specific-SOVERSION-to-cpp_common.patch b/debian/patches/0002-Add-Debian-specific-SOVERSION-to-cpp_common.patch
new file mode 100644
index 0000000..3bb2d67
--- /dev/null
+++ b/debian/patches/0002-Add-Debian-specific-SOVERSION-to-cpp_common.patch
@@ -0,0 +1,20 @@
+From: Jochen Sprickerhof <git at jochen.sprickerhof.de>
+Date: Tue, 9 Dec 2014 17:15:47 +0100
+Subject: Add Debian specific SOVERSION to cpp_common
+
+---
+ cpp_common/CMakeLists.txt | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/cpp_common/CMakeLists.txt b/cpp_common/CMakeLists.txt
+index 5e83800..836fc9d 100644
+--- a/cpp_common/CMakeLists.txt
++++ b/cpp_common/CMakeLists.txt
+@@ -33,6 +33,7 @@ endif(HAVE_GLIBC_BACKTRACE)
+ 
+ add_library(${PROJECT_NAME} src/debug.cpp src/header.cpp)
+ target_link_libraries(${PROJECT_NAME} ${Boost_LIBRARIES} ${console_bridge_LIBRARIES})
++set_target_properties(${PROJECT_NAME} PROPERTIES VERSION ${cpp_common_VERSION} SOVERSION "0d")
+ 
+ install(TARGETS ${PROJECT_NAME}
+   ARCHIVE DESTINATION ${CATKIN_PACKAGE_LIB_DESTINATION}
diff --git a/debian/patches/series b/debian/patches/series
index 6e9def9..641bfc4 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 0001-Add-CMakeLists.txt.patch
+0002-Add-Debian-specific-SOVERSION-to-cpp_common.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/ros/roscpp-core.git



More information about the debian-science-commits mailing list