]> git.pld-linux.org Git - packages/apt.git/blob - apt-types.patch
- rediffed, added types,rpm4.14 patches for rpm 4.14+ compatibility
[packages/apt.git] / apt-types.patch
1 --- apt-0.5.15lorg3.94a/apt-pkg/rpm/rpmlistparser.h.orig        2008-01-12 10:45:07.000000000 +0100
2 +++ apt-0.5.15lorg3.94a/apt-pkg/rpm/rpmlistparser.h     2022-03-26 21:29:55.630026571 +0100
3 @@ -42,7 +42,7 @@ class rpmListParser : public pkgCacheGen
4     
5  #ifdef APT_WITH_GNU_HASH_MAP
6     typedef hash_map<const char*,bool,
7 -                   hash<const char*>,cstr_eq_pred> SeenPackagesType;
8 +                   std::hash<const char*>,cstr_eq_pred> SeenPackagesType;
9  #else
10     typedef map<const char*,bool,cstr_lt_pred> SeenPackagesType;
11  #endif
12 --- apt-0.5.15lorg3.94a/apt-pkg/rpm/rpmpackagedata.h.orig       2022-03-26 15:57:50.104639074 +0100
13 +++ apt-0.5.15lorg3.94a/apt-pkg/rpm/rpmpackagedata.h    2022-03-26 15:57:52.957956950 +0100
14 @@ -32,7 +32,7 @@ class RPMPackageData
15     typedef map<string,pkgCache::VerIterator> VerMapValueType;
16     typedef hash_map<unsigned long,VerMapValueType> VerMapType;
17     typedef hash_map<const char*,int,
18 -                   hash<const char*>,cstr_eq_pred> ArchScoresType;
19 +                   std::hash<const char*>,cstr_eq_pred> ArchScoresType;
20  #else
21     map<string,pkgCache::State::VerPriority> Priorities;
22     map<string,pkgCache::Flag::PkgFlags> Flags;
This page took 0.067218 seconds and 3 git commands to generate.