diff -pruN 0.1.19+dfsg-5/debian/changelog 0.1.19+dfsg-6/debian/changelog
--- 0.1.19+dfsg-5/debian/changelog	2022-01-18 17:49:14.000000000 +0000
+++ 0.1.19+dfsg-6/debian/changelog	2022-12-12 16:30:33.000000000 +0000
@@ -1,3 +1,15 @@
+samtools-legacy (0.1.19+dfsg-6) unstable; urgency=medium
+
+  * Team upload.
+  * Revert: Add missing build dependency on dh addon.
+  * Disable LTO
+    Closes: #1015655
+  * d/watch: Provide sensible upstream tarball name
+  * Standards-Version: 4.6.1 (routine-update)
+  * Remove trailing whitespace in debian/rules (routine-update)
+
+ -- Andreas Tille <tille@debian.org>  Mon, 12 Dec 2022 17:30:33 +0100
+
 samtools-legacy (0.1.19+dfsg-5) unstable; urgency=medium
 
   * Team upload.
diff -pruN 0.1.19+dfsg-5/debian/control 0.1.19+dfsg-6/debian/control
--- 0.1.19+dfsg-5/debian/control	2022-01-18 17:49:14.000000000 +0000
+++ 0.1.19+dfsg-6/debian/control	2022-12-12 16:30:33.000000000 +0000
@@ -5,9 +5,8 @@ Section: science
 Priority: optional
 Build-Depends: debhelper-compat (= 13),
                libncurses5-dev,
-               zlib1g-dev,
-               debhelper
-Standards-Version: 4.6.0
+               zlib1g-dev
+Standards-Version: 4.6.1
 Vcs-Browser: https://salsa.debian.org/med-team/samtools-legacy
 Vcs-Git: https://salsa.debian.org/med-team/samtools-legacy.git
 Homepage: https://www.htslib.org/
diff -pruN 0.1.19+dfsg-5/debian/rules 0.1.19+dfsg-6/debian/rules
--- 0.1.19+dfsg-5/debian/rules	2022-01-18 17:49:14.000000000 +0000
+++ 0.1.19+dfsg-6/debian/rules	2022-12-12 16:30:33.000000000 +0000
@@ -2,6 +2,8 @@
 
 CFLAGS += -fPIC $(LDFLAGS) $(CPPFLAGS)
 
+export DEB_BUILD_MAINT_OPTIONS=optimize=-lto
+
 %:
 	dh $@
 
diff -pruN 0.1.19+dfsg-5/debian/watch 0.1.19+dfsg-6/debian/watch
--- 0.1.19+dfsg-5/debian/watch	2022-01-18 17:49:14.000000000 +0000
+++ 0.1.19+dfsg-6/debian/watch	2022-12-12 16:30:33.000000000 +0000
@@ -1,4 +1,4 @@
 version=4
 
-opts="repacksuffix=+dfsg,dversionmangle=auto,repack,compression=xz" \
+opts="repacksuffix=+dfsg,dversionmangle=auto,filenamemangle=s%(?:.*?)?v?(\d[\d.]*)\.tar\.gz%@PACKAGE@-$1.tar.gz%" \
    https://github.com/samtools/samtools/tags?after=0.2.0-rc1 .*/(0\.1\.\d+)\.tar\.gz
