diff options
| author | Julian Andres Klode <julian.klode@canonical.com> | 2025-01-05 19:29:47 +0100 |
|---|---|---|
| committer | Julian Andres Klode <julian.klode@canonical.com> | 2025-01-05 19:29:47 +0100 |
| commit | cf0257b4d2f559a914fcafa58e5819f624dc8599 (patch) | |
| tree | b9fbccbf1e346f0832ec5abe2fb7e0d63fc38386 /apt-pkg/deb/deblistparser.cc | |
| parent | a7e73480d8a2b20d18bcbc8efd4705a95b2094a9 (diff) | |
Ensure we can build with APT_PKG_ABI > 601
There were some references to APT::StringView that don't make much
sense anymore.
Diffstat (limited to 'apt-pkg/deb/deblistparser.cc')
| -rw-r--r-- | apt-pkg/deb/deblistparser.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apt-pkg/deb/deblistparser.cc b/apt-pkg/deb/deblistparser.cc index f43060394..db3478f53 100644 --- a/apt-pkg/deb/deblistparser.cc +++ b/apt-pkg/deb/deblistparser.cc @@ -563,6 +563,7 @@ const char *debListParser::ParseDepends(const char *Start,const char *Stop, return res; } +#if APT_PKG_ABI <= 600 const char *debListParser::ParseDepends(const char *Start,const char *Stop, APT::StringView &Package,APT::StringView &Ver, unsigned int &Op, bool ParseArchFlags, @@ -580,7 +581,7 @@ const char *debListParser::ParseDepends(const char *Start,const char *Stop, return res; } - +#endif const char *debListParser::ParseDepends(const char *Start, const char *Stop, string_view &Package, string_view &Ver, |
