]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/deb/deblistparser.cc
rework dpkg-wrapping in test framework
[apt.git] / apt-pkg / deb / deblistparser.cc
index 42db341b33b8e00b5c41af140a38698728a83383..462818a039d7c24d354ab2669f5a70b5a3e335cd 100644 (file)
@@ -141,6 +141,7 @@ bool debListParser::NewVersion(pkgCache::VerIterator &Ver)
       map_stringitem_t const idx = StoreString(pkgCacheGenerator::SECTION, Start, Stop - Start);
       Ver->Section = idx;
    }
+#if APT_PKG_ABI >= 413
    // Parse the source package name
    pkgCache::GrpIterator const G = Ver.ParentPkg().Group();
    Ver->SourcePkgName = G->Name;
@@ -192,6 +193,7 @@ bool debListParser::NewVersion(pkgCache::VerIterator &Ver)
         }
       }
    }
+#endif
 
    Ver->MultiArch = ParseMultiArch(true);
    // Archive Size