Bump soversion

This commit is contained in:
Gleb Fotengauer-Malinovskiy 2014-08-13 16:32:36 +04:00
parent 202f4861f2
commit 3091599081
4 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@
lib_LTLIBRARIES = libapt-pkg.la
libapt_pkg_la_LIBADD = @RPMLIBS@
libapt_pkg_la_LDFLAGS = -version-info 4:0:1 -release @GLIBC_VER@-@LIBSTDCPP_VER@@FILE_OFFSET_BITS_SUFFIX@
libapt_pkg_la_LDFLAGS = -version-info 5:0:1 -release @GLIBC_VER@-@LIBSTDCPP_VER@@FILE_OFFSET_BITS_SUFFIX@
AM_CPPFLAGS = -DLIBDIR=\"$(libdir)\"

View File

@ -126,6 +126,7 @@ class pkgCache::VerIterator
inline pkgCache *Cache() {return Owner;};
inline const char *VerStr() const {return Ver->VerStr == 0?0:Owner->StrP + Ver->VerStr;};
inline const int BTime() const {return Ver->BTime;};
inline const char *Section() const {return Ver->Section == 0?0:Owner->StrP + Ver->Section;};
inline const char *Arch() const {return Ver->Arch == 0?0:Owner->StrP + Ver->Arch;};
inline PkgIterator ParentPkg() const {return PkgIterator(*Owner,Owner->PkgP + Ver->ParentPkg);};
@ -147,7 +148,6 @@ class pkgCache::VerIterator
if (Ver == 0)
Ver = Owner.VerP;
};
inline const int BTime() const {return Ver->BTime;};
};
// Dependency iterator

View File

@ -266,6 +266,7 @@ struct pkgCache::VerFile
struct pkgCache::Version
{
map_ptrloc VerStr; // Stringtable
map_ptrloc BTime; // int
map_ptrloc Section; // StringTable (StringItem)
map_ptrloc Arch; // StringTable
@ -281,7 +282,6 @@ struct pkgCache::Version
unsigned int Hash;
unsigned int ID;
unsigned char Priority;
map_ptrloc BTime; // int
};
struct pkgCache::Dependency

View File

@ -62,6 +62,7 @@ class rpmListParser : public pkgCacheGenerator::ListParser
// These all operate against the current header
virtual string Package();
virtual string Version();
virtual int BuildTime();
virtual string Architecture();
virtual bool NewVersion(pkgCache::VerIterator Ver);
virtual unsigned short VersionHash();
@ -88,7 +89,6 @@ class rpmListParser : public pkgCacheGenerator::ListParser
rpmListParser(RPMHandler *Handler);
~rpmListParser();
virtual int BuildTime();
};
#endif