Control: tags 1136247 + patch
Control: tags 1136247 + pending

Dear maintainer,

I've prepared an NMU for manif (versioned as 0.0.5-6.1) and uploaded
it to DELAYED/7. Please feel free to tell me if I should cancel it.

cu
Adrian
diffstat for manif-0.0.5 manif-0.0.5

 changelog            |    7 +++++++
 patches/eigen5.patch |   37 +++++++++++++++++++++++++++++++++++++
 patches/series       |    1 +
 3 files changed, 45 insertions(+)

diff -Nru manif-0.0.5/debian/changelog manif-0.0.5/debian/changelog
--- manif-0.0.5/debian/changelog	2024-10-03 23:40:08.000000000 +0300
+++ manif-0.0.5/debian/changelog	2026-09-18 21:14:00.000000000 +0300
@@ -1,3 +1,10 @@
+manif (0.0.5-6.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTBFS with Eigen 5. (Closes: #1136247)
+
+ -- Adrian Bunk <[email protected]>  Fri, 18 Sep 2026 21:14:00 +0300
+
 manif (0.0.5-6) unstable; urgency=medium
 
   * Ignore test failures on 32-bit architectures
diff -Nru manif-0.0.5/debian/patches/eigen5.patch manif-0.0.5/debian/patches/eigen5.patch
--- manif-0.0.5/debian/patches/eigen5.patch	1970-01-01 02:00:00.000000000 +0200
+++ manif-0.0.5/debian/patches/eigen5.patch	2026-09-18 21:14:00.000000000 +0300
@@ -0,0 +1,37 @@
+Description: Fix FTBFS with Eigen 5
+Author: Adrian Bunk <[email protected]>
+Bug-Debian: https://bugs.debian.org/1136247
+
+--- manif-0.0.5.orig/CMakeLists.txt
++++ manif-0.0.5/CMakeLists.txt
+@@ -27,30 +27,6 @@ endif()
+ # fall-back to the version provided in the cmake/modules.
+ find_package(Eigen3 QUIET)
+ 
+-if(NOT EIGEN3_FOUND)
+-  list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake/modules)
+-  find_package(Eigen3 REQUIRED)
+-endif()
+-
+-# Note that eigen 3.2 (on Ubuntu Wily) only provides EIGEN3_INCLUDE_DIR,
+-# not EIGEN3_INCLUDE_DIRS, so we have to set the latter from the former.
+-if(NOT EIGEN3_INCLUDE_DIRS)
+-  set(EIGEN3_INCLUDE_DIRS ${EIGEN3_INCLUDE_DIR})
+-endif()
+-
+-# Necessary for Ubuntu 16.04's god-awful FindEigen3.cmake.
+-if((NOT (DEFINED EIGEN3_VERSION)) AND (DEFINED EIGEN3_VERSION_STRING))
+-  set(EIGEN3_VERSION ${EIGEN3_VERSION_STRING})
+-endif()
+-
+-if(${EIGEN3_VERSION} VERSION_EQUAL "3.3.6")
+-  message(WARNING "Eigen3 version ${EIGEN3_VERSION} found in ${EIGEN3_INCLUDE_DIRS},"
+-                  "but this version has a [bug](http://eigen.tuxfamily.org/bz/show_bug.cgi?id=1643)")
+-elseif(${EIGEN3_VERSION} VERSION_LESS "3.3.8")
+-  message(WARNING "Eigen3 version ${EIGEN3_VERSION} found in ${EIGEN3_INCLUDE_DIRS}. "
+-                  "Beware that the move semantic has a bug and resolves to a simple copy.")
+-endif()
+-
+ # Options. Turn on with 'cmake -DBUILD_TESTING=ON'.
+ # catkin build manif --cmake-args -DBUILD_TESTING=ON -DBUILD_EXAMPLES=ON
+ option(BUILD_TESTING "Build all tests." OFF)
diff -Nru manif-0.0.5/debian/patches/series manif-0.0.5/debian/patches/series
--- manif-0.0.5/debian/patches/series	2024-10-03 23:40:08.000000000 +0300
+++ manif-0.0.5/debian/patches/series	2026-09-18 21:14:00.000000000 +0300
@@ -1,2 +1,3 @@
 0001-Link-against-proper-GTest-target.patch
 0002-Curb-compiler-memory-requirements-for-Rn-tests.patch
+eigen5.patch

Reply via email to