diff -Nru rdfind-1.5.0/debian/changelog rdfind-1.5.0/debian/changelog --- rdfind-1.5.0/debian/changelog 2021-09-11 08:53:16.000000000 +0000 +++ rdfind-1.5.0/debian/changelog 2021-10-27 10:10:56.000000000 +0000 @@ -1,3 +1,10 @@ +rdfind (1.5.0-1.1) unstable; urgency=medium + + * Non-maintainer upload + * Add patch from upstream to fix compilation with g++-11 (Closes: #997256) + + -- Simon McVittie Wed, 27 Oct 2021 11:10:56 +0100 + rdfind (1.5.0-1) unstable; urgency=medium * d/copyright: Switch to https diff -Nru rdfind-1.5.0/debian/patches/include-limits-thanks-to-tastytea.patch rdfind-1.5.0/debian/patches/include-limits-thanks-to-tastytea.patch --- rdfind-1.5.0/debian/patches/include-limits-thanks-to-tastytea.patch 1970-01-01 00:00:00.000000000 +0000 +++ rdfind-1.5.0/debian/patches/include-limits-thanks-to-tastytea.patch 2021-10-27 10:10:56.000000000 +0000 @@ -0,0 +1,24 @@ +From: Paul Dreik +Date: Sun, 15 Aug 2021 20:31:31 +0200 +Subject: include (thanks to tastytea) + +This fixes compilation with g++-11. + +Origin: upstream, 1.5.1, commit:https://github.com/pauldreik/rdfind/commit/61877de88d782b63b17458a61fcc078391499b29 +Bug-Debian: https://bugs.debian.org/997256 +--- + rdfind.cc | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/rdfind.cc b/rdfind.cc +index fbd6cb8..64dd8f6 100644 +--- a/rdfind.cc ++++ b/rdfind.cc +@@ -9,6 +9,7 @@ + // std + #include + #include ++#include + #include + #include + diff -Nru rdfind-1.5.0/debian/patches/series rdfind-1.5.0/debian/patches/series --- rdfind-1.5.0/debian/patches/series 1970-01-01 00:00:00.000000000 +0000 +++ rdfind-1.5.0/debian/patches/series 2021-10-27 10:10:56.000000000 +0000 @@ -0,0 +1 @@ +include-limits-thanks-to-tastytea.patch