From 7ea3c67f96e3bc82f86afe72d6c61308c92de515 Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Tue, 26 Sep 2017 19:45:12 +0200 Subject: allow empty build-dependency fields in the parser APT used to parse only wellformed files produced by repository creation tools which removed empty files as pointless before apt would see them. Now that apt can be told to parse e.g. debian/control files directly, it needs to be a little more accepting through: We had this with comments already, now let it deal with the far more trivial empty fields. Closes: #875363 --- apt-pkg/deb/debsrcrecords.cc | 5 ++++- test/integration/test-apt-get-build-dep-file | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/apt-pkg/deb/debsrcrecords.cc b/apt-pkg/deb/debsrcrecords.cc index 0368817c2..cd8840af2 100644 --- a/apt-pkg/deb/debsrcrecords.cc +++ b/apt-pkg/deb/debsrcrecords.cc @@ -119,7 +119,10 @@ bool debSrcRecordParser::BuildDepends(std::vector Build-Depends: debhelper (>= 7) +Build-Depends-Indep: X-Python3-Version: >= 3.2 Standards-Version: 3.9.3 -- cgit v1.2.3