]> git.saurik.com Git - apt.git/blobdiff - cmdline/apt-cache.cc
guard ABI changes for SourcePkg/Ver in pkgCache
[apt.git] / cmdline / apt-cache.cc
index 0f4f7e1ce1e9ef30a9ce9bd716e9c46bd5263988..1bd75dfba1565f065337cdb76fe05b57b1a63974 100644 (file)
@@ -389,8 +389,10 @@ static bool Stats(CommandLine &)
            stritems.insert(V->VerStr);
         if (V->Section != 0)
            stritems.insert(V->Section);
+#if APT_PKG_ABI >= 413
         stritems.insert(V->SourcePkgName);
         stritems.insert(V->SourceVerStr);
+#endif
         for (pkgCache::DepIterator D = V.DependsList(); D.end() == false; ++D)
         {
            if (D->Version != 0)