summaryrefslogtreecommitdiff
path: root/data/_apt7/cache-limit.diff
diff options
context:
space:
mode:
authorSam Bingner <sam@bingner.com>2018-08-15 10:49:31 -1000
committerSam Bingner <sam@bingner.com>2018-08-15 10:49:31 -1000
commit2f8f0c32e83897a3644f0d94bfaf437743e2741b (patch)
tree87038c9a8a49f33db1e3c1a5f4cc38109f4e0de2 /data/_apt7/cache-limit.diff
parentaf3c4ce5f8f1a128eaf24d22749df3b7e744e41b (diff)
Update apt7 to 1.4.8 based on nitotv fork and add xz support
Diffstat (limited to 'data/_apt7/cache-limit.diff')
-rw-r--r--data/_apt7/cache-limit.diff21
1 files changed, 0 insertions, 21 deletions
diff --git a/data/_apt7/cache-limit.diff b/data/_apt7/cache-limit.diff
deleted file mode 100644
index 01db636be..000000000
--- a/data/_apt7/cache-limit.diff
+++ /dev/null
@@ -1,21 +0,0 @@
-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)