summaryrefslogtreecommitdiff
path: root/data/apt/find.diff
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2009-04-22 01:03:34 +0000
committerJay Freeman <saurik@saurik.com>2009-04-22 01:03:34 +0000
commitacbc714acbaf253bf121a217a755089c74c7f01b (patch)
tree3ce08044b81687d87e402253cd60d5ee4690946d /data/apt/find.diff
parentb7f32003140cce0188e8a2fc66368a860e474a44 (diff)
The beginning of the future: futzing with APT.
git-svn-id: http://svn.telesphoreo.org/trunk@601 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data/apt/find.diff')
-rw-r--r--data/apt/find.diff37
1 files changed, 0 insertions, 37 deletions
diff --git a/data/apt/find.diff b/data/apt/find.diff
deleted file mode 100644
index 56eb1e2ab..000000000
--- a/data/apt/find.diff
+++ /dev/null
@@ -1,37 +0,0 @@
-diff -ru apt-0.7.20.2/apt-pkg/deb/debrecords.cc apt-0.7.20.2+iPhone/apt-pkg/deb/debrecords.cc
---- apt-0.7.20.2/apt-pkg/deb/debrecords.cc 2009-02-07 15:09:35.000000000 +0000
-+++ apt-0.7.20.2+iPhone/apt-pkg/deb/debrecords.cc 2009-04-19 03:41:21.000000000 +0000
-@@ -170,3 +170,11 @@
- Section.GetSection(Start,Stop);
- }
- /*}}}*/
-+// RecordParser::Find - Locate a tag /*{{{*/
-+// ---------------------------------------------------------------------
-+/* */
-+bool debRecordParser::Find(const char *Tag,const char *&Start, const char *&End)
-+{
-+ return Section.Find(Tag,Start,End);
-+}
-+ /*}}}*/
-diff -ru apt-0.7.20.2/apt-pkg/deb/debrecords.h apt-0.7.20.2+iPhone/apt-pkg/deb/debrecords.h
---- apt-0.7.20.2/apt-pkg/deb/debrecords.h 2009-02-07 15:09:35.000000000 +0000
-+++ apt-0.7.20.2+iPhone/apt-pkg/deb/debrecords.h 2009-04-19 03:46:48.000000000 +0000
-@@ -47,6 +47,7 @@
- virtual string Homepage();
-
- virtual void GetRec(const char *&Start,const char *&Stop);
-+ virtual bool Find(const char *Tag,const char *&Start, const char *&End);
-
- debRecordParser(string FileName,pkgCache &Cache);
- };
-diff -ru apt-0.7.20.2/apt-pkg/pkgrecords.h apt-0.7.20.2+iPhone/apt-pkg/pkgrecords.h
---- apt-0.7.20.2/apt-pkg/pkgrecords.h 2009-04-18 23:19:45.000000000 +0000
-+++ apt-0.7.20.2+iPhone/apt-pkg/pkgrecords.h 2009-04-19 03:39:04.000000000 +0000
-@@ -70,6 +70,7 @@
-
- // The record in binary form
- virtual void GetRec(const char *&Start,const char *&Stop) {Start = Stop = 0;};
-+ virtual bool Find(const char *Tag,const char *&Start, const char *&End) {Start = End = 0; return false;};
-
- virtual ~Parser() {};
- };