summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/patches/0005-Fix-vtk-include-path.patch21
-rw-r--r--debian/patches/series1
2 files changed, 22 insertions, 0 deletions
diff --git a/debian/patches/0005-Fix-vtk-include-path.patch b/debian/patches/0005-Fix-vtk-include-path.patch
new file mode 100644
index 0000000..315ae0f
--- /dev/null
+++ b/debian/patches/0005-Fix-vtk-include-path.patch
@@ -0,0 +1,21 @@
+From: Jochen Sprickerhof <git@jochen.sprickerhof.de>
+Date: Tue, 11 Dec 2018 21:07:02 +0100
+Subject: Fix vtk include path
+
+---
+ setup.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/setup.py b/setup.py
+index 84addab..9c5781b 100644
+--- a/setup.py
++++ b/setup.py
+@@ -546,7 +546,7 @@ else:
+ # ext_args['include_dirs'].append('/usr/include/vtk')
+ # ext_args['include_dirs'].append('/usr/local/include/vtk')
+ # pcl 1.7(Ubuntu)
+- ext_args['include_dirs'].append('/usr/include/vtk-7.1')
++ ext_args['include_dirs'].append('/usr/include/vtk-6.3')
+ ext_args['library_dirs'].append('/usr/lib')
+ # ext_args['libraries'].append('libvtk*.so')
+ # pcl 1.8.1(MacOSX)
diff --git a/debian/patches/series b/debian/patches/series
index 559d579..cf8fe10 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@
0002-Enable-visualization-module.patch
0003-Remove-ConditionalRemoval-API-and-add-deprecation-no.patch
0004-Add-support-for-PCL-1.9.patch
+0005-Fix-vtk-include-path.patch