diffstat for gtsam-4.2.0+dfsg gtsam-4.2.0+dfsg

 changelog                            |    8 +++++++
 control                              |    2 -
 patches/0001-Move-to-cmake-3.5.patch |   36 +++++++++++++++++++++++++++++++++++
 patches/series                       |    1 
 4 files changed, 46 insertions(+), 1 deletion(-)

diff -Nru gtsam-4.2.0+dfsg/debian/changelog gtsam-4.2.0+dfsg/debian/changelog
--- gtsam-4.2.0+dfsg/debian/changelog	2024-01-09 07:51:35.000000000 +0200
+++ gtsam-4.2.0+dfsg/debian/changelog	2025-11-19 22:01:53.000000000 +0200
@@ -1,3 +1,11 @@
+gtsam (4.2.0+dfsg-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Backport upstream fix for FTBFS with CMake 4. (Closes: #1112982)
+  * debian/control: Update Homepage.
+
+ -- Adrian Bunk <bunk@debian.org>  Wed, 19 Nov 2025 22:01:53 +0200
+
 gtsam (4.2.0+dfsg-1) unstable; urgency=medium
 
   * New upstream release
diff -Nru gtsam-4.2.0+dfsg/debian/control gtsam-4.2.0+dfsg/debian/control
--- gtsam-4.2.0+dfsg/debian/control	2024-01-09 07:37:52.000000000 +0200
+++ gtsam-4.2.0+dfsg/debian/control	2025-11-19 22:01:53.000000000 +0200
@@ -33,7 +33,7 @@
 Maintainer: Debian Science Maintainers <debian-science-maintainers@lists.alioth.debian.org>
 Uploaders: Dima Kogan <dkogan@debian.org>
 Standards-Version: 4.1.3
-Homepage: http://www.gtsam.org
+Homepage: https://borglab.github.io/gtsam/
 Vcs-Git: https://salsa.debian.org/science-team/gtsam.git
 Vcs-Browser: https://salsa.debian.org/science-team/gtsam
 
diff -Nru gtsam-4.2.0+dfsg/debian/patches/0001-Move-to-cmake-3.5.patch gtsam-4.2.0+dfsg/debian/patches/0001-Move-to-cmake-3.5.patch
--- gtsam-4.2.0+dfsg/debian/patches/0001-Move-to-cmake-3.5.patch	1970-01-01 02:00:00.000000000 +0200
+++ gtsam-4.2.0+dfsg/debian/patches/0001-Move-to-cmake-3.5.patch	2025-11-19 22:01:53.000000000 +0200
@@ -0,0 +1,36 @@
+From f8d35be44a0160f8fa2b01376e1e69e3c2463cfa Mon Sep 17 00:00:00 2001
+From: Frank Dellaert <dellaert@gmail.com>
+Date: Thu, 29 Aug 2024 15:16:04 -0700
+Subject: Move to cmake 3.5
+
+---
+ CMakeLists.txt                                | 2 +-
+ cmake/example_cmake_find_gtsam/CMakeLists.txt | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 4b871c860..17cabd3ab 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -1,4 +1,4 @@
+-cmake_minimum_required(VERSION 3.0)
++cmake_minimum_required(VERSION 3.5)
+ 
+ # new feature to Cmake Version > 2.8.12
+ # Mac ONLY. Define Relative Path on Mac OS
+diff --git a/cmake/example_cmake_find_gtsam/CMakeLists.txt b/cmake/example_cmake_find_gtsam/CMakeLists.txt
+index 9a4be4d70..cc8856e29 100644
+--- a/cmake/example_cmake_find_gtsam/CMakeLists.txt
++++ b/cmake/example_cmake_find_gtsam/CMakeLists.txt
+@@ -1,7 +1,7 @@
+ # This file shows how to build and link a user project against GTSAM using CMake
+ ###################################################################################
+ # To create your own project, replace "example" with the actual name of your project
+-cmake_minimum_required(VERSION 3.0)
++cmake_minimum_required(VERSION 3.5)
+ project(example CXX)
+ 
+ # Find GTSAM, either from a local build, or from a Debian/Ubuntu package.
+-- 
+2.30.2
+
diff -Nru gtsam-4.2.0+dfsg/debian/patches/series gtsam-4.2.0+dfsg/debian/patches/series
--- gtsam-4.2.0+dfsg/debian/patches/series	2024-01-09 07:51:35.000000000 +0200
+++ gtsam-4.2.0+dfsg/debian/patches/series	2025-11-19 22:01:53.000000000 +0200
@@ -19,3 +19,4 @@
 fix-got-overflow-in-mips64el.patch
 0001-Relax-unit-test-thresholds-to-fix-32bit-issues.patch
 include-bitset-for-compatibility-with-boost-1.83.patch
+0001-Move-to-cmake-3.5.patch
