diff -pruN 20201011-1/debian/changelog 20201011-2/debian/changelog
--- 20201011-1/debian/changelog	2022-09-18 19:28:01.000000000 +0000
+++ 20201011-2/debian/changelog	2025-10-04 16:14:05.000000000 +0000
@@ -1,3 +1,10 @@
+musescore-sftools (20201011-2) unstable; urgency=high
+
+  * Bump Policy while here
+  * Apply cmake-FTBFS-fixing suggestion (Closes: #1113305)
+
+ -- Thorsten Glaser <tg@mirbsd.de>  Sat, 04 Oct 2025 18:14:05 +0200
+
 musescore-sftools (20201011-1) unstable; urgency=medium
 
   * New upstream release
diff -pruN 20201011-1/debian/control 20201011-2/debian/control
--- 20201011-1/debian/control	2022-09-18 19:09:41.000000000 +0000
+++ 20201011-2/debian/control	2025-10-04 16:13:02.000000000 +0000
@@ -5,7 +5,7 @@ Maintainer: Thorsten Glaser <tg@mirbsd.d
 Homepage: https://github.com/musescore/sftools
 Build-Depends: cmake, debhelper-compat (= 13),
  libsndfile1-dev, pkgconf, qtbase5-dev (>= 5.6)
-Standards-Version: 4.6.1
+Standards-Version: 4.7.2
 Rules-Requires-Root: no
 VCS-git: https://github.com/mirabilos/sftools
 VCS-Browser: https://github.com/mirabilos/sftools
diff -pruN 20201011-1/debian/rules 20201011-2/debian/rules
--- 20201011-1/debian/rules	2022-09-18 19:21:47.000000000 +0000
+++ 20201011-2/debian/rules	2025-10-04 16:14:05.000000000 +0000
@@ -11,8 +11,26 @@ export LC_ALL
 TZ:=UTC
 export TZ
 
-export DEB_BUILD_MAINT_OPTIONS := hardening=+all
-export DEB_CXXFLAGS_MAINT_APPEND := -Wno-deprecated-declarations
+shellescape='$(subst ','\'',$(1))'
+shellexport=$(1)=$(call shellescape,${$(1)})
+
+include /usr/share/dpkg/architecture.mk
+include /usr/share/dpkg/buildtools.mk
+
+OUR_CXXFLAGS:=	-Wno-deprecated-declarations
+
+ifneq (,$(filter debug,${DEB_BUILD_OPTIONS}))
+OUR_CXXFLAGS+=	-Og -g3
+endif
+
+dpkgbuildflagsmkescape=$(subst \,\\\,$(1))
+export DEB_BUILD_MAINT_OPTIONS := hardening=+all optimize=-lto
+export DEB_CXXFLAGS_MAINT_APPEND:=$(call dpkgbuildflagsmkescape,${OUR_CXXFLAGS})
+include /usr/share/dpkg/default.mk
 
 %:
 	dh $@ --buildsystem=cmake
+
+override_dh_auto_configure:
+	dh_auto_configure --buildsystem=cmake -- \
+	    -DCMAKE_POLICY_VERSION_MINIMUM=3.5
diff -pruN 20201011-1/debian/sf3convert.lintian-overrides 20201011-2/debian/sf3convert.lintian-overrides
--- 20201011-1/debian/sf3convert.lintian-overrides	2022-09-18 19:27:57.000000000 +0000
+++ 20201011-2/debian/sf3convert.lintian-overrides	1970-01-01 00:00:00.000000000 +0000
@@ -1,6 +0,0 @@
-# false positive: name of a CLI parameter
-sf3convert: typo-in-manual-page pres press [usr/share/man/man1/sf3convert.1*
-
-# bug in lintian: #1019235
-sf3convert: spelling-error-in-changelog licence license *
-sf3convert: spelling-error-in-copyright Licence License
diff -pruN 20201011-1/debian/source/lintian-overrides 20201011-2/debian/source/lintian-overrides
--- 20201011-1/debian/source/lintian-overrides	2022-09-18 19:27:58.000000000 +0000
+++ 20201011-2/debian/source/lintian-overrides	2025-10-04 16:14:05.000000000 +0000
@@ -6,3 +6,7 @@ musescore-sftools source: cute-field
 
 # no, thanks
 musescore-sftools source: no-dep5-copyright
+
+# extra lintian churn related to dpkg silently changing the default
+# breaking innocent packages so we’d rather keep spelling it explicitly
+musescore-sftools source: redundant-rules-requires-root-no-field
