Przeglądaj źródła

* apt-pkg/pkgcache.h:
- readd All{Foreign,Allowed} as suggested by Julian to
remain strictly API compatible

David Kalnischkies 15 lat temu
rodzic
commit
00b6a181fe
2 zmienionych plików z 12 dodań i 1 usunięć
  1. 3 1
      apt-pkg/pkgcache.h
  2. 9 0
      debian/changelog

+ 3 - 1
apt-pkg/pkgcache.h

@@ -506,7 +506,9 @@ struct pkgCache::Version
 		       All = (1<<0), /*!< will cause that Ver.Arch() will report "all" */
 		       All = (1<<0), /*!< will cause that Ver.Arch() will report "all" */
 		       Foreign = (1<<1), /*!< can satisfy dependencies in another architecture */
 		       Foreign = (1<<1), /*!< can satisfy dependencies in another architecture */
 		       Same = (1<<2), /*!< can be co-installed with itself from other architectures */
 		       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
    /** \brief stores the MultiArch capabilities of this version
 
 
        Flags used are defined in pkgCache::Version::VerMultiArch
        Flags used are defined in pkgCache::Version::VerMultiArch

+ 9 - 0
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
 apt (0.8.16~exp2) experimental; urgency=low
 
 
   [ David Kalnischkies ]
   [ David Kalnischkies ]