[otb] 01/02: Add patch to fix FTBFS with CMake 3.9.0. (closes: #869888)

Bas Couwenberg sebastic at debian.org
Thu Jul 27 14:57:08 UTC 2017


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

sebastic pushed a commit to branch master
in repository otb.

commit 29b43f8657c65139c9e68316ceb54b0d638b0f69
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Thu Jul 27 14:04:01 2017 +0200

    Add patch to fix FTBFS with CMake 3.9.0. (closes: #869888)
---
 debian/changelog                 |  7 +++++++
 debian/patches/cmake-3.9.0.patch | 14 ++++++++++++++
 debian/patches/series            |  1 +
 3 files changed, 22 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 922f368..00ba172 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+otb (6.0.0+dfsg-3) UNRELEASED; urgency=medium
+
+  * Add patch to fix FTBFS with CMake 3.9.0.
+    (closes: #869888)
+
+ -- Bas Couwenberg <sebastic at debian.org>  Thu, 27 Jul 2017 14:03:37 +0200
+
 otb (6.0.0+dfsg-2) unstable; urgency=medium
 
   * Team upload.
diff --git a/debian/patches/cmake-3.9.0.patch b/debian/patches/cmake-3.9.0.patch
new file mode 100644
index 0000000..e31d084
--- /dev/null
+++ b/debian/patches/cmake-3.9.0.patch
@@ -0,0 +1,14 @@
+Description: Fix build failure with CMake 3.9.0.
+Author: Bas Couwenberg <sebastic at debian.org>
+Bug-Debian: https://bugs.debian.org/869888
+
+--- a/Modules/ThirdParty/SiftFast/src/CMakeLists.txt
++++ b/Modules/ThirdParty/SiftFast/src/CMakeLists.txt
+@@ -51,7 +51,6 @@ if( CMAKE_COMPILER_IS_GNUCC OR CMAKE_COM
+             message(FATAL_ERROR "Impossible to compile libsiftfast. Contact OTB development team")
+         endif()
+         set(OTB_DISABLE_FAST_FUNCTIONS_VALUE 1)
+-    else()
+         message(STATUS "Try to compile libsiftfast.cpp done.")
+     endif()
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 4f65ea9..6dd775d 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 0001-BUG-Mantis-1419-FindOpenCV.cmake-supports-multiarch-.patch
+cmake-3.9.0.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/otb.git



More information about the Pkg-grass-devel mailing list