diff options
author | Sam Bingner <sam@bingner.com> | 2018-08-15 10:49:31 -1000 |
---|---|---|
committer | Sam Bingner <sam@bingner.com> | 2018-08-15 10:49:31 -1000 |
commit | 2f8f0c32e83897a3644f0d94bfaf437743e2741b (patch) | |
tree | 87038c9a8a49f33db1e3c1a5f4cc38109f4e0de2 /data/_apt7/tolerance.diff | |
parent | af3c4ce5f8f1a128eaf24d22749df3b7e744e41b (diff) |
Update apt7 to 1.4.8 based on nitotv fork and add xz support
Diffstat (limited to 'data/_apt7/tolerance.diff')
-rw-r--r-- | data/_apt7/tolerance.diff | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/data/_apt7/tolerance.diff b/data/_apt7/tolerance.diff deleted file mode 100644 index ce2ff0adb..000000000 --- a/data/_apt7/tolerance.diff +++ /dev/null @@ -1,24 +0,0 @@ -diff -ru apt-0.7.20.2/apt-pkg/deb/deblistparser.cc apt-0.7.20.2+iPhone/apt-pkg/deb/deblistparser.cc ---- apt-0.7.20.2/apt-pkg/deb/deblistparser.cc 2010-02-22 08:57:37.000000000 +0000 -+++ apt-0.7.20.2+iPhone/apt-pkg/deb/deblistparser.cc 2010-02-22 09:40:28.000000000 +0000 -@@ -643,11 +643,18 @@ - iOffset = Tags.Offset(); - while (Tags.Step(Section) == true) - { -+ const char *Start; -+ const char *Stop; -+ -+ if (Section.Find("Package",Start,Stop) == false) { -+ _error->Warning("Encountered a section with no Package: header"); -+ continue; -+ } -+ - /* See if this is the correct Architecture, if it isn't then we - drop the whole section. A missing arch tag only happens (in theory) - inside the Status file, so that is a positive return */ -- const char *Start; -- const char *Stop; -+ - if (Section.Find("Architecture",Start,Stop) == false) - return true; - |