summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2011-04-14 12:28:00 +0200
committerJulian Andres Klode <jak@debian.org>2011-04-14 12:28:00 +0200
commit90cf90b254e5dbe8194dc93fa8f57f891b3ea518 (patch)
treeb8edefe26847e1d5146d021ce06cc648ea83b614
parent3518021283aa5d44e441fdce59615ca2af9d94fc (diff)
* apt-pkg/deb/deblistparser.cc:
- Handle no space before "[" in build-dependencies (LP: #72344)
-rw-r--r--apt-pkg/deb/deblistparser.cc2
-rw-r--r--debian/changelog2
2 files changed, 3 insertions, 1 deletions
diff --git a/apt-pkg/deb/deblistparser.cc b/apt-pkg/deb/deblistparser.cc
index 4be626741..b59ae8896 100644
--- a/apt-pkg/deb/deblistparser.cc
+++ b/apt-pkg/deb/deblistparser.cc
@@ -487,7 +487,7 @@ const char *debListParser::ParseDepends(const char *Start,const char *Stop,
// Parse off the package name
const char *I = Start;
for (;I != Stop && isspace(*I) == 0 && *I != '(' && *I != ')' &&
- *I != ',' && *I != '|'; I++);
+ *I != ',' && *I != '|' && *I != '[' && *I != ']'; I++);
// Malformed, no '('
if (I != Stop && *I == ')')
diff --git a/debian/changelog b/debian/changelog
index d5bbc20ed..15dd0c648 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,8 @@ apt (0.8.13.3) UNRELEASED; urgency=low
- Use Release files even if they cannot be verified (LP: #704595)
* cmdline/apt-get.cc:
- Do not install recommends for build-dep (Closes: #454479) (LP: #245273)
+ * apt-pkg/deb/deblistparser.cc:
+ - Handle no space before "[" in build-dependencies (LP: #72344)
[ Michael Vogt ]
* mirror method: