diff options
author | Sam Bingner <sam@bingner.com> | 2018-12-07 13:01:05 -1000 |
---|---|---|
committer | Sam Bingner <sam@bingner.com> | 2018-12-07 13:01:05 -1000 |
commit | dabe8669a56fca398da9a7dd117eb74f874cddc0 (patch) | |
tree | 1e9f41f484e72a02652b600498a7b09aee62b7e6 /data/_apt7/cache-limit.diff | |
parent | bae6eae573376ebc0e942e88c4f6eaea9b0f1574 (diff) |
Update to use libapt instead of apt7-lib for apt1.4+ and add apt-rdepends
Diffstat (limited to 'data/_apt7/cache-limit.diff')
-rw-r--r-- | data/_apt7/cache-limit.diff | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/data/_apt7/cache-limit.diff b/data/_apt7/cache-limit.diff new file mode 100644 index 000000000..01db636be --- /dev/null +++ b/data/_apt7/cache-limit.diff @@ -0,0 +1,21 @@ +diff -ru apt-0.7.25.3/apt-pkg/pkgcachegen.cc apt-0.7.25.3+iPhone/apt-pkg/pkgcachegen.cc +--- apt-0.7.25.3/apt-pkg/pkgcachegen.cc 2010-02-01 19:44:40.000000000 +0000 ++++ apt-0.7.25.3+iPhone/apt-pkg/pkgcachegen.cc 2014-06-13 09:34:25.000000000 +0000 +@@ -827,7 +827,7 @@ + MMap **OutMap,bool AllowMem) + { + bool const Debug = _config->FindB("Debug::pkgCacheGen", false); +- unsigned long const MapSize = _config->FindI("APT::Cache-Limit",24*1024*1024); ++ unsigned long const MapSize = _config->FindI("APT::Cache-Limit",128*1024*1024); + + vector<pkgIndexFile *> Files; + for (vector<metaIndex *>::const_iterator i = List.begin(); +@@ -992,7 +992,7 @@ + /* */ + bool pkgMakeOnlyStatusCache(OpProgress &Progress,DynamicMMap **OutMap) + { +- unsigned long MapSize = _config->FindI("APT::Cache-Limit",20*1024*1024); ++ unsigned long MapSize = _config->FindI("APT::Cache-Limit",128*1024*1024); + vector<pkgIndexFile *> Files; + unsigned long EndOfSource = Files.size(); + if (_system->AddStatusFiles(Files) == false) |