[pcl] 01/02: Add patch for PCL_ROOT

Jochen Sprickerhof jspricke at moszumanska.debian.org
Fri Aug 18 09:40:58 UTC 2017


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

jspricke pushed a commit to branch master
in repository pcl.

commit 9d1864c094b2b99df94f71f76f92bf2ad2d778d1
Author: Jochen Sprickerhof <git at jochen.sprickerhof.de>
Date:   Fri Aug 18 11:30:55 2017 +0200

    Add patch for PCL_ROOT
---
 debian/patches/0001-Fix-PCL_ROOT-path.patch | 21 +++++++++++++++++++++
 debian/patches/series                       |  1 +
 2 files changed, 22 insertions(+)

diff --git a/debian/patches/0001-Fix-PCL_ROOT-path.patch b/debian/patches/0001-Fix-PCL_ROOT-path.patch
new file mode 100644
index 0000000..bf37a4d
--- /dev/null
+++ b/debian/patches/0001-Fix-PCL_ROOT-path.patch
@@ -0,0 +1,21 @@
+From: Jochen Sprickerhof <git at jochen.sprickerhof.de>
+Date: Fri, 18 Aug 2017 11:30:38 +0200
+Subject: Fix PCL_ROOT path
+
+---
+ PCLConfig.cmake.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/PCLConfig.cmake.in b/PCLConfig.cmake.in
+index f4ef6a0..aa3e000 100644
+--- a/PCLConfig.cmake.in
++++ b/PCLConfig.cmake.in
+@@ -717,7 +717,7 @@ if(WIN32 AND NOT MINGW)
+   get_filename_component(PCL_ROOT "${PCL_DIR}" PATH)
+ else(WIN32 AND NOT MINGW)
+ # PCLConfig.cmake is installed to PCL_ROOT/share/pcl-x.y
+-  get_filename_component(PCL_ROOT "${CMAKE_CURRENT_LIST_DIR}/../.." ABSOLUTE)
++  get_filename_component(PCL_ROOT "${CMAKE_CURRENT_LIST_DIR}/../../../.." ABSOLUTE)
+ endif(WIN32 AND NOT MINGW)
+ 
+ # check whether PCLConfig.cmake is found into a PCL installation or in a build tree
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..1ae14fe
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-Fix-PCL_ROOT-path.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