]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/pkgcache.h
guard ABI changes for SourcePkg/Ver in pkgCache
[apt.git] / apt-pkg / pkgcache.h
index 4f856820509d6f0c0532a42492f27e1ed942e232..a7b7fa539ae8536b2391cc8177c766ef2ff666be 100644 (file)
@@ -510,12 +510,14 @@ struct pkgCache::Version
    map_stringitem_t VerStr;
    /** \brief section this version is filled in */
    map_stringitem_t Section;
+#if APT_PKG_ABI >= 413
    /** \brief source package name this version comes from
       Always contains the name, even if it is the same as the binary name */
    map_stringitem_t SourcePkgName;
    /** \brief source version this version comes from
       Always contains the version string, even if it is the same as the binary version */
    map_stringitem_t SourceVerStr;
+#endif
 
    /** \brief Multi-Arch capabilities of a package version */
    enum VerMultiArch { None = 0, /*!< is the default and doesn't trigger special behaviour */