summaryrefslogtreecommitdiff
path: root/apt-pkg/deb/debmetaindex.cc
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2013-12-04 17:58:36 +0100
committerMichael Vogt <mvo@debian.org>2013-12-04 17:58:36 +0100
commit916e5cb41edfa015fd8ec42ba140eb7c0c4cb511 (patch)
tree351f7803644be7bac1a5458553e6d801850101bc /apt-pkg/deb/debmetaindex.cc
parentd85d0c09cee3aa5b84e45f46595f6dd617ce64b6 (diff)
add #ifdefed ABI break & cleaner solution once the abi break is in place
Diffstat (limited to 'apt-pkg/deb/debmetaindex.cc')
-rw-r--r--apt-pkg/deb/debmetaindex.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/apt-pkg/deb/debmetaindex.cc b/apt-pkg/deb/debmetaindex.cc
index b597b6f3c..345b1ec11 100644
--- a/apt-pkg/deb/debmetaindex.cc
+++ b/apt-pkg/deb/debmetaindex.cc
@@ -1,4 +1,3 @@
-// ijones, walters
#include <config.h>
#include <apt-pkg/debmetaindex.h>
@@ -36,6 +35,7 @@ string debReleaseIndex::Info(const char *Type, string const &Section, string con
return Info;
}
+#if (APT_PKG_MAJOR >= 4 && APT_PKG_MINOR < 13)
string debReleaseIndex::MetaIndexInfo(const char *Type) const
{
string Info = ::URI::SiteOnly(URI) + ' ';
@@ -71,6 +71,7 @@ string debReleaseIndex::MetaIndexURI(const char *Type) const
Res += Type;
return Res;
}
+#endif
string debReleaseIndex::IndexURISuffix(const char *Type, string const &Section, string const &Arch) const
{