summaryrefslogtreecommitdiff
path: root/apt-pkg/pkgcache.cc
diff options
context:
space:
mode:
authorjak@debian.org <>2009-06-15 14:57:01 +0200
committerjak@debian.org <>2009-06-15 14:57:01 +0200
commitf8ae7e8b3c5585888cbc0516b35131acec14ff05 (patch)
tree967800f198a9de20ea4ec1c4cd4a6dd1563ff791 /apt-pkg/pkgcache.cc
parent8aea8c3f51ce84ed8d6d89682c0a989ac99c4796 (diff)
downloadapt-f8ae7e8b3c5585888cbc0516b35131acec14ff05.tar.gz
Introduce support for the Enhances field. (Closes: #137583)
Diffstat (limited to 'apt-pkg/pkgcache.cc')
-rw-r--r--apt-pkg/pkgcache.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/apt-pkg/pkgcache.cc b/apt-pkg/pkgcache.cc
index 4fbf42c4b..7a0d7376d 100644
--- a/apt-pkg/pkgcache.cc
+++ b/apt-pkg/pkgcache.cc
@@ -49,7 +49,7 @@ pkgCache::Header::Header()
/* Whenever the structures change the major version should be bumped,
whenever the generator changes the minor version should be bumped. */
- MajorVersion = 7;
+ MajorVersion = 8;
MinorVersion = 0;
Dirty = false;
@@ -223,7 +223,7 @@ const char *pkgCache::DepType(unsigned char Type)
{
const char *Types[] = {"",_("Depends"),_("PreDepends"),_("Suggests"),
_("Recommends"),_("Conflicts"),_("Replaces"),
- _("Obsoletes"),_("Breaks")};
+ _("Obsoletes"),_("Breaks"), _("Enhances")};
if (Type < sizeof(Types)/sizeof(*Types))
return Types[Type];
return "";