diff -Nru libpwiz-3.0.18342/debian/changelog libpwiz-3.0.18342/debian/changelog --- libpwiz-3.0.18342/debian/changelog 2019-02-01 22:38:03.000000000 +0000 +++ libpwiz-3.0.18342/debian/changelog 2020-06-08 08:35:31.000000000 +0000 @@ -1,3 +1,10 @@ +libpwiz (3.0.18342-2+rpi1) bullseye-staging; urgency=medium + + [Changes taken from 3.0.18342-2ubuntu1 by Dimitri John Ledkov] + * Fix ftbfs with new gcc or boost. + + -- Peter Michael Green Mon, 08 Jun 2020 08:35:31 +0000 + libpwiz (3.0.18342-2) unstable; urgency=low * Improve header path (move pwiz to proteowizard) to ease with nested diff -Nru libpwiz-3.0.18342/debian/patches/fix-ftbfs.patch libpwiz-3.0.18342/debian/patches/fix-ftbfs.patch --- libpwiz-3.0.18342/debian/patches/fix-ftbfs.patch 1970-01-01 00:00:00.000000000 +0000 +++ libpwiz-3.0.18342/debian/patches/fix-ftbfs.patch 2020-06-08 08:34:30.000000000 +0000 @@ -0,0 +1,70 @@ +Description: New gcc/boost fail to cast tribool to bool, force it. +Author: Dimitri John Ledkov + + +Index: libpwiz-3.0.18342/pwiz/data/identdata/IdentData.cpp +=================================================================== +--- libpwiz-3.0.18342.orig/pwiz/data/identdata/IdentData.cpp ++++ libpwiz-3.0.18342/pwiz/data/identdata/IdentData.cpp +@@ -1047,7 +1047,7 @@ PWIZ_API_DECL proteome::DigestedPeptide + BOOST_FOREACH(CVID cleavageAgent, cleavageAgents) + { + if (!findPeptideEvidenceWithRegex(pe, peptide, peptideSequenceInContext, cleavageAgent, "", +- sip.enzymes.independent, nTerminusIsSpecific, cTerminusIsSpecific, ++ (bool) sip.enzymes.independent, nTerminusIsSpecific, cTerminusIsSpecific, + bestSpecificity, bestResult)) + break; + } +@@ -1055,7 +1055,7 @@ PWIZ_API_DECL proteome::DigestedPeptide + BOOST_FOREACH(const string& regex, cleavageAgentRegexes) + { + if (!findPeptideEvidenceWithRegex(pe, peptide, peptideSequenceInContext, CVID_Unknown, regex, +- sip.enzymes.independent, nTerminusIsSpecific, cTerminusIsSpecific, ++ (bool) sip.enzymes.independent, nTerminusIsSpecific, cTerminusIsSpecific, + bestSpecificity, bestResult)) + break; + } +@@ -1109,7 +1109,7 @@ PWIZ_API_DECL vector