diff -Nru html2text-1.3.2a/debian/changelog html2text-1.3.2a/debian/changelog --- html2text-1.3.2a/debian/changelog 2018-01-06 01:10:33.000000000 +0000 +++ html2text-1.3.2a/debian/changelog 2018-02-10 16:58:36.000000000 +0000 @@ -1,3 +1,11 @@ +html2text (1.3.2a-21) unstable; urgency=medium + + * Bump compat to debhelper 11, update depends accordingly. + * Drop debian/patches/220-nobs-when-stdout-is-a-tty.patch which has not been + used since 1.3.2a-10. + + -- Holger Levsen Sat, 10 Feb 2018 16:58:36 +0000 + html2text (1.3.2a-20) unstable; urgency=medium * debian/rules: diff -Nru html2text-1.3.2a/debian/compat html2text-1.3.2a/debian/compat --- html2text-1.3.2a/debian/compat 2017-09-29 21:13:17.000000000 +0000 +++ html2text-1.3.2a/debian/compat 2018-02-10 16:56:12.000000000 +0000 @@ -1 +1 @@ -10 +11 diff -Nru html2text-1.3.2a/debian/control html2text-1.3.2a/debian/control --- html2text-1.3.2a/debian/control 2018-01-06 00:49:30.000000000 +0000 +++ html2text-1.3.2a/debian/control 2018-02-10 16:39:29.000000000 +0000 @@ -2,7 +2,7 @@ Maintainer: Holger Levsen Section: web Priority: optional -Build-Depends: debhelper (>= 10.2.5~) +Build-Depends: debhelper (>= 11~) Standards-Version: 4.1.3 Rules-Requires-Root: no Vcs-Browser: https://anonscm.debian.org/git/collab-maint/html2text.git diff -Nru html2text-1.3.2a/debian/patches/220-nobs-when-stdout-is-a-tty.patch html2text-1.3.2a/debian/patches/220-nobs-when-stdout-is-a-tty.patch --- html2text-1.3.2a/debian/patches/220-nobs-when-stdout-is-a-tty.patch 2014-02-05 13:16:24.000000000 +0000 +++ html2text-1.3.2a/debian/patches/220-nobs-when-stdout-is-a-tty.patch 1970-01-01 00:00:00.000000000 +0000 @@ -1,24 +0,0 @@ -Don't use backslashes when output is not a tty. -Index: html2text-1.3.2a/html2text.C -=================================================================== ---- html2text-1.3.2a.orig/html2text.C 2008-08-25 22:38:58.002779823 +0300 -+++ html2text-1.3.2a/html2text.C 2008-08-25 22:51:16.633493573 +0300 -@@ -38,6 +38,7 @@ - #include - #include - #include -+#include - - #include "html.h" - #include "HTMLControl.h" -@@ -217,6 +218,10 @@ - << std::endl; - exit(1); - } -+ if (!isatty(1)) // standard output is not a tty -+ { -+ use_backspaces = false; -+ } - - const char *const *input_urls; - int number_of_input_urls;