summaryrefslogtreecommitdiff
path: root/data/_apt7/apt-get.diff
diff options
context:
space:
mode:
authorSam Bingner <sam@bingner.com>2018-12-07 13:01:05 -1000
committerSam Bingner <sam@bingner.com>2018-12-07 13:01:05 -1000
commitdabe8669a56fca398da9a7dd117eb74f874cddc0 (patch)
tree1e9f41f484e72a02652b600498a7b09aee62b7e6 /data/_apt7/apt-get.diff
parentbae6eae573376ebc0e942e88c4f6eaea9b0f1574 (diff)
Update to use libapt instead of apt7-lib for apt1.4+ and add apt-rdepends
Diffstat (limited to 'data/_apt7/apt-get.diff')
-rw-r--r--data/_apt7/apt-get.diff20
1 files changed, 20 insertions, 0 deletions
diff --git a/data/_apt7/apt-get.diff b/data/_apt7/apt-get.diff
new file mode 100644
index 000000000..6d5bacac9
--- /dev/null
+++ b/data/_apt7/apt-get.diff
@@ -0,0 +1,20 @@
+diff -ur apt-0.7.25.3/cmdline/apt-get.cc apt-0.7.25.3+iPhone/cmdline/apt-get.cc
+--- apt-0.7.25.3/cmdline/apt-get.cc 2018-12-03 13:17:35.000000000 -1000
++++ apt-0.7.25.3+iPhone/cmdline/apt-get.cc 2018-12-03 13:20:54.000000000 -1000
+@@ -1844,12 +1844,12 @@
+ if ((*Cache)[I].Install() == false)
+ continue;
+
+- const char **J;
+- for (J = CmdL.FileList + 1; *J != 0; J++)
+- if (strcmp(*J,I.Name()) == 0)
++ const char **K;
++ for (K = CmdL.FileList + 1; *K != 0; K++)
++ if (strcmp(*K,I.Name()) == 0)
+ break;
+
+- if (*J == 0) {
++ if (*K == 0) {
+ List += string(I.Name()) + " ";
+ VersionsList += string(Cache[I].CandVersion) + "\n";
+ }