diff -Nru libapt-front-0.4.0/debian/changelog libapt-front-0.4.0/debian/changelog --- libapt-front-0.4.0/debian/changelog 2010-09-05 22:02:18.000000000 -0500 +++ libapt-front-0.4.0/debian/changelog 2010-09-05 22:41:38.000000000 -0500 @@ -1,4 +1,4 @@ -libapt-front (0.4.0-0.2ubuntu12) maverick; urgency=low +libapt-front (0.4.0-0.2ubuntu13) maverick; urgency=low * Maverick rebuild diff -Nru libapt-front-0.4.0/debian/patches/apt-front-maverick-compile-fixes.diff libapt-front-0.4.0/debian/patches/apt-front-maverick-compile-fixes.diff --- libapt-front-0.4.0/debian/patches/apt-front-maverick-compile-fixes.diff 1969-12-31 18:00:00.000000000 -0600 +++ libapt-front-0.4.0/debian/patches/apt-front-maverick-compile-fixes.diff 2010-09-05 22:42:39.000000000 -0500 @@ -0,0 +1,45 @@ +diff -ur libapt-front/apt-front/cache/component/packages.cpp libapt-front/apt-front/cache/component/packages.cpp +--- apt-front/libapt-front-0.4.0/apt-front/cache/component/packages.cpp ++++ apt-front.new/libapt-front-0.4.0/apt-front/cache/component/packages.cpp +@@ -23,12 +23,12 @@ + + int Packages::hashSize () + { +- return sizeof (HeaderP->HashTable) / sizeof (HeaderP->HashTable[0]); ++ return sizeof (HeaderP->PkgHashTable) / sizeof (HeaderP->PkgHashTable[0]); + } + + entity::Package Packages::packageByName( const std::string& n ) { + const char *Name = n.c_str(); +- Package *Pkg = PkgP + HeaderP->HashTable[Hash(Name)]; ++ Package *Pkg = PkgP + HeaderP->PkgHashTable[Hash(Name)]; + for (; Pkg != PkgP; Pkg = PkgP + Pkg->NextPackage) + { + if (Pkg->Name != 0 && StrP[Pkg->Name] == Name[0] && +diff -ur libapt-front/apt-front/cache/component/packages.h libapt-front/apt-front/cache/component/packages.h +--- apt-front/libapt-front-0.4.0/apt-front/cache/component/packages.h ++++ apt-front.new/libapt-front-0.4.0/apt-front/cache/component/packages.h +@@ -93,7 +93,7 @@ + Dependency *depPtr (map_ptrloc offset = 0) const { return DepP + offset; } + VerFile *verFilePtr( map_ptrloc offset = 0 ) const { return VerFileP + offset; } + Provides *providesPtr( map_ptrloc offset = 0 ) const { return ProvideP + offset; } +- map_ptrloc hashOffset (int idx) const { return HeaderP->HashTable[idx]; } ++ map_ptrloc hashOffset (int idx) const { return HeaderP->PkgHashTable[idx]; } + + typedef utils::Range< entity::Version > VersionRange; + typedef utils::Range< entity::Relation > RelationRange; +diff -ur libapt-front/apt-front/cache/entity/version.h libapt-front/apt-front/cache/entity/version.h +--- apt-front/libapt-front-0.4.0/apt-front/cache/entity/version.h ++++ apt-front.new/libapt-front-0.4.0/apt-front/cache/entity/version.h +@@ -82,9 +82,9 @@ + } + + std::string architecture( DefaultString d = DefaultString() ) const { +- if (!valid()) ++// if (!valid()) + return d.get( getterError( "architecture()" ) ); +- return packageCache().strPtr( m_data->Arch ); ++// return packageCache().strPtr( m_data->Arch ); + } + + std::string section( DefaultString d = DefaultString() ) const {