[pcl] 01/01: Add patch for empty 2d lib
Jochen Sprickerhof
jspricke-guest at moszumanska.debian.org
Thu Aug 18 14:06:56 UTC 2016
This is an automated email from the git hooks/post-receive script.
jspricke-guest pushed a commit to branch master
in repository pcl.
commit aa2fabef8bd4b119163826ea26d5667283392f7b
Author: Jochen Sprickerhof <git at jochen.sprickerhof.de>
Date: Thu Aug 18 16:06:32 2016 +0200
Add patch for empty 2d lib
---
...004-Remove-2d-library-contains-no-symbols.patch | 32 ++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 33 insertions(+)
diff --git a/debian/patches/0004-Remove-2d-library-contains-no-symbols.patch b/debian/patches/0004-Remove-2d-library-contains-no-symbols.patch
new file mode 100644
index 0000000..45bb931
--- /dev/null
+++ b/debian/patches/0004-Remove-2d-library-contains-no-symbols.patch
@@ -0,0 +1,32 @@
+From: Jochen Sprickerhof <git at jochen.sprickerhof.de>
+Date: Thu, 18 Aug 2016 00:17:37 +0200
+Subject: Remove 2d library (contains no symbols)
+
+---
+ 2d/CMakeLists.txt | 6 ------
+ 1 file changed, 6 deletions(-)
+
+diff --git a/2d/CMakeLists.txt b/2d/CMakeLists.txt
+index 967a300..afaa998 100644
+--- a/2d/CMakeLists.txt
++++ b/2d/CMakeLists.txt
+@@ -27,8 +27,6 @@ if(build)
+ "include/pcl/${SUBSYS_NAME}/impl/morphology.hpp"
+ )
+
+- set(LIB_NAME "pcl_${SUBSYS_NAME}")
+-
+ if(${VTK_FOUND})
+ set(VTK_USE_FILE "${VTK_USE_FILE}" CACHE INTERNAL "VTK_USE_FILE")
+ include("${VTK_USE_FILE}")
+@@ -36,10 +34,6 @@ if(build)
+ endif(${VTK_FOUND})
+
+ include_directories("${CMAKE_CURRENT_SOURCE_DIR}/include" ${VTK_INCLUDE_DIRECTORIES})
+- PCL_ADD_LIBRARY("${LIB_NAME}" "${SUBSYS_NAME}" ${srcs} ${incs} ${impl_incs})
+- link_directories(${VTK_LINK_DIRECTORIES})
+- target_link_libraries("${LIB_NAME}" ${VTK_LIBRARIES} pcl_io)
+- PCL_MAKE_PKGCONFIG("${LIB_NAME}" "${SUBSYS_NAME}" "${SUBSYS_DESC}" "${SUBSYS_DEPS}" "" "" "" "")
+
+ #Install include files
+ PCL_ADD_INCLUDES("${SUBSYS_NAME}" "${SUBSYS_NAME}" ${incs})
diff --git a/debian/patches/series b/debian/patches/series
index aaee516..b2c2879 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
0004-Correct-PCL_ROOT-in-PCLConfig.cmake.patch
0002-Remove-relicts-of-nonfree-ia_-fpcs.patch
0003-Clear-privacy-breach-logo.patch
+0004-Remove-2d-library-contains-no-symbols.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pcl.git
More information about the debian-science-commits
mailing list