From 00b6a181fe1efb86ba5eb98a369da8f9d2ab063f Mon Sep 17 00:00:00 2001
From: David Kalnischkies <kalnischkies@gmail.com>
Date: Wed, 29 Jun 2011 19:38:52 +0200
Subject: [PATCH] * apt-pkg/pkgcache.h:   - readd All{Foreign,Allowed} as
 suggested by Julian to     remain strictly API compatible

---
 apt-pkg/pkgcache.h | 4 +++-
 debian/changelog   | 9 +++++++++
 2 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/apt-pkg/pkgcache.h b/apt-pkg/pkgcache.h
index 280f37bca..9a9f79420 100644
--- a/apt-pkg/pkgcache.h
+++ b/apt-pkg/pkgcache.h
@@ -506,7 +506,9 @@ struct pkgCache::Version
 		       All = (1<<0), /*!< will cause that Ver.Arch() will report "all" */
 		       Foreign = (1<<1), /*!< can satisfy dependencies in another architecture */
 		       Same = (1<<2), /*!< can be co-installed with itself from other architectures */
-		       Allowed = (1<<3) /*!< other packages are allowed to depend on thispkg:any */ };
+		       Allowed = (1<<3), /*!< other packages are allowed to depend on thispkg:any */
+		       AllForeign = All | Foreign,
+		       AllAllowed = All | Allowed };
    /** \brief stores the MultiArch capabilities of this version
 
        Flags used are defined in pkgCache::Version::VerMultiArch
diff --git a/debian/changelog b/debian/changelog
index 0c104137e..af6db28b9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,12 @@
+apt (0.8.16~exp3) experimental; urgency=low
+
+  [ David Kalnischkies ]
+  * apt-pkg/pkgcache.h:
+    - readd All{Foreign,Allowed} as suggested by Julian to
+      remain strictly API compatible
+
+ -- David Kalnischkies <kalnischkies@gmail.com>  Wed, 29 Jun 2011 19:38:44 +0200
+
 apt (0.8.16~exp2) experimental; urgency=low
 
   [ David Kalnischkies ]
-- 
2.47.2