diff -pruN 0.6.1-5/debian/changelog 0.6.1-6/debian/changelog
--- 0.6.1-5/debian/changelog	2024-03-25 10:36:24.000000000 +0000
+++ 0.6.1-6/debian/changelog	2025-10-17 08:10:53.000000000 +0000
@@ -1,3 +1,13 @@
+bppphyview (0.6.1-6) unstable; urgency=medium
+
+  * Fix build with CMake 4
+    Closes: #1112732
+  * d/watch: version=5
+  * Standards-Version: 4.7.2 (routine-update)
+  * debputy lint --auto-fix (routine-update)
+
+ -- Andreas Tille <tille@debian.org>  Fri, 17 Oct 2025 10:10:53 +0200
+
 bppphyview (0.6.1-5) unstable; urgency=medium
 
   * Team upload.
diff -pruN 0.6.1-5/debian/control 0.6.1-6/debian/control
--- 0.6.1-5/debian/control	2024-03-25 10:36:24.000000000 +0000
+++ 0.6.1-6/debian/control	2025-10-17 08:10:53.000000000 +0000
@@ -1,15 +1,17 @@
 Source: bppphyview
+Standards-Version: 4.7.2
 Maintainer: Debian Med Packaging Team <debian-med-packaging@lists.alioth.debian.org>
-Uploaders: Julien Dutheil <julien.dutheil@univ-montp2.fr>,
-           Andreas Tille <tille@debian.org>
+Uploaders:
+ Julien Dutheil <julien.dutheil@univ-montp2.fr>,
+ Andreas Tille <tille@debian.org>,
 Section: science
 Priority: optional
-Build-Depends: debhelper-compat (= 13),
-               cmake,
-               qt5-qmake,
-               qtdeclarative5-dev,
-               libbpp-qt-dev
-Standards-Version: 4.6.2
+Build-Depends:
+ debhelper-compat (= 13),
+ cmake,
+ qt5-qmake,
+ qtdeclarative5-dev,
+ libbpp-qt-dev,
 Vcs-Browser: https://salsa.debian.org/med-team/bppphyview
 Vcs-Git: https://salsa.debian.org/med-team/bppphyview.git
 Homepage: http://biopp.univ-montp2.fr/wiki/index.php/Main_Page
@@ -17,8 +19,9 @@ Rules-Requires-Root: no
 
 Package: bppphyview
 Architecture: any
-Depends: ${shlibs:Depends},
-         ${misc:Depends}
+Depends:
+ ${shlibs:Depends},
+ ${misc:Depends},
 Description: Bio++ Phylogenetic Viewer
  A phylogenetic tree editor developed using Bio++ and Qt.  Phyview allows one
  to visualize, edit, print and output phylogenetic trees and associated data.
diff -pruN 0.6.1-5/debian/rules 0.6.1-6/debian/rules
--- 0.6.1-5/debian/rules	2024-03-25 10:36:24.000000000 +0000
+++ 0.6.1-6/debian/rules	2025-10-17 08:10:53.000000000 +0000
@@ -7,6 +7,9 @@ export DEB_BUILD_MAINT_OPTIONS = hardeni
 %:
 	dh $@
 
+override_dh_auto_configure:
+	dh_auto_configure -- -DCMAKE_POLICY_VERSION_MINIMUM=3.5
+
 override_dh_installman:
 	# Deal with
 	# dh_installman: warning: Multiple definitions for manpage via different compressions.  Please ensure there is at most one definition.
diff -pruN 0.6.1-5/debian/watch 0.6.1-6/debian/watch
--- 0.6.1-5/debian/watch	2024-03-25 09:50:23.000000000 +0000
+++ 0.6.1-6/debian/watch	2025-10-17 08:10:53.000000000 +0000
@@ -1,4 +1,5 @@
-version=4
+Version: 5
 
-opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%@PACKAGE@-$1.tar.gz%" \
-  https://github.com/BioPP/bppphyview/tags .*/v(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz)
+Template: Github
+Owner: BioPP
+Project: bppphyview
