Add patch for wrong boost pkg-config dependency
authorJochen Sprickerhof <git@jochen.sprickerhof.de>
Wed, 29 Dec 2021 09:46:57 +0000 (10:46 +0100)
committerJochen Sprickerhof <git@jochen.sprickerhof.de>
Wed, 29 Dec 2021 09:49:39 +0000 (10:49 +0100)
Closes: #1002753
debian/patches/0008-Don-t-require-boost-in-pkg-config.patch [new file with mode: 0644]
debian/patches/series

diff --git a/debian/patches/0008-Don-t-require-boost-in-pkg-config.patch b/debian/patches/0008-Don-t-require-boost-in-pkg-config.patch
new file mode 100644 (file)
index 0000000..2c5c50c
--- /dev/null
@@ -0,0 +1,22 @@
+From: Jochen Sprickerhof <git@jochen.sprickerhof.de>
+Date: Wed, 29 Dec 2021 10:42:28 +0100
+Subject: Don't require boost in pkg-config
+
+There is no boost.pc. Regression of 87e12d1c8.
+---
+ io/CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/io/CMakeLists.txt b/io/CMakeLists.txt
+index 163639b..460b3d5 100644
+--- a/io/CMakeLists.txt
++++ b/io/CMakeLists.txt
+@@ -415,7 +415,7 @@ if(PCAP_FOUND)
+   target_link_libraries("${LIB_NAME}" ${PCAP_LIBRARIES})
+ endif()
+-set(EXT_DEPS boost eigen3)
++set(EXT_DEPS eigen3)
+ if(WITH_OPENNI)
+   list(APPEND EXT_DEPS libopenni)
index c58ca4a5ddd71c34e499ca80b6575c5a18695210..31a9c2f1b666c7ea9eb8f164ad5ba834e75b773b 100644 (file)
@@ -5,3 +5,4 @@
 0005-Adopt-unit-test-for-i386.patch
 0007-Adopt-unit-tests-for-arm64-and-ppc64el.patch
 0007-Drop-PCL_SOURCES_TREE-from-installation-cmake.patch
+0008-Don-t-require-boost-in-pkg-config.patch