diff --git a/apt-0.5.15lorg2-alt-pkgCache-PrvIterator.patch b/apt-0.5.15lorg2-alt-pkgCache-PrvIterator.patch deleted file mode 100644 index ada0b0d..0000000 --- a/apt-0.5.15lorg2-alt-pkgCache-PrvIterator.patch +++ /dev/null @@ -1,16 +0,0 @@ -2006-05-23 Sir Raorn - - * apt-pkg/cacheiterators.h(pkgCache::PrvIterator): Add default - constructor, required for aptitude 0.4.1 - ---- apt-0.5.15lorg2.orig/apt-pkg/cacheiterators.h 2006-01-16 23:10:47 +0000 -+++ apt-0.5.15lorg2/apt-pkg/cacheiterators.h 2006-05-23 05:44:07 +0000 -@@ -258,6 +258,8 @@ - inline PkgIterator OwnerPkg() {return PkgIterator(*Owner,Owner->PkgP + Owner->VerP[Prv->Version].ParentPkg);}; - inline unsigned long Index() const {return Prv - Owner->ProvideP;}; - -+ inline PrvIterator() : Prv(0), Type(PrvVer), Owner(0) {}; -+ - inline PrvIterator(pkgCache &Owner,Provides *Trg,Version *) : - Prv(Trg), Type(PrvVer), Owner(&Owner) - { diff --git a/apt/apt-pkg/cacheiterators.h b/apt/apt-pkg/cacheiterators.h index 92427b8..db32125 100644 --- a/apt/apt-pkg/cacheiterators.h +++ b/apt/apt-pkg/cacheiterators.h @@ -258,6 +258,8 @@ class pkgCache::PrvIterator inline PkgIterator OwnerPkg() {return PkgIterator(*Owner,Owner->PkgP + Owner->VerP[Prv->Version].ParentPkg);}; inline unsigned long Index() const {return Prv - Owner->ProvideP;}; + inline PrvIterator() : Prv(0), Type(PrvVer), Owner(0) {}; + inline PrvIterator(pkgCache &Owner,Provides *Trg,Version *) : Prv(Trg), Type(PrvVer), Owner(&Owner) {