From a9359695769d43f745dc5243d1044981e03555d5 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Fri, 27 May 2011 06:31:13 +0000 Subject: [PATCH] Support Architecture: cydia packages, for giggles. A architecture.diff git-svn-id: http://svn.telesphoreo.org/trunk@755 514c082c-b64e-11dc-b46d-3d985efe055d --- apt-pkg/deb/deblistparser.cc | 3 +++ apt-pkg/deb/deblistparser.cc.orig | 3 +++ 2 files changed, 6 insertions(+) diff --git a/apt-pkg/deb/deblistparser.cc b/apt-pkg/deb/deblistparser.cc index 964e4a4..6557e76 100644 --- a/apt-pkg/deb/deblistparser.cc +++ b/apt-pkg/deb/deblistparser.cc @@ -706,6 +706,9 @@ bool debListParser::Step() if (stringcmp(Start,Stop,"all") == 0) return true; + if (stringcmp(Start,Stop,"cydia") == 0) + return true; + iOffset = Tags.Offset(); } return false; diff --git a/apt-pkg/deb/deblistparser.cc.orig b/apt-pkg/deb/deblistparser.cc.orig index 04f5c24..47ee5f6 100644 --- a/apt-pkg/deb/deblistparser.cc.orig +++ b/apt-pkg/deb/deblistparser.cc.orig @@ -670,6 +670,9 @@ bool debListParser::Step() if (stringcmp(Start,Stop,"all") == 0) return true; + if (stringcmp(Start,Stop,"cydia") == 0) + return true; + iOffset = Tags.Offset(); } return false; -- 2.47.2