summaryrefslogtreecommitdiff
path: root/data/ipkg/extern.diff
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2009-06-18 21:13:38 +0000
committerJay Freeman <saurik@saurik.com>2009-06-18 21:13:38 +0000
commit5ed718ec79aa5d126d81cd9453bc00ca20208451 (patch)
tree72ec0a822ca8dbbe077731c348952ec5918d6d5e /data/ipkg/extern.diff
parent2b8a416faa0ffd207f16ff6295d97c26b4bdd597 (diff)
Added ipkg (for WebOS compatibility).
git-svn-id: http://svn.telesphoreo.org/trunk@621 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'data/ipkg/extern.diff')
-rw-r--r--data/ipkg/extern.diff24
1 files changed, 24 insertions, 0 deletions
diff --git a/data/ipkg/extern.diff b/data/ipkg/extern.diff
new file mode 100644
index 000000000..abd64b07a
--- /dev/null
+++ b/data/ipkg/extern.diff
@@ -0,0 +1,24 @@
+diff -ru ipkg-0.99.163/ipkg.h.in ipkg-0.99.163+iPhone/ipkg.h.in
+--- ipkg-0.99.163/ipkg.h.in 2006-05-30 08:31:16.000000000 +0000
++++ ipkg-0.99.163+iPhone/ipkg.h.in 2009-06-11 23:34:10.000000000 +0000
+@@ -62,7 +62,7 @@
+ struct errlist * next;
+ } ;
+
+-struct errlist* error_list;
++extern struct errlist* error_list;
+
+
+ #endif
+diff -ru ipkg-0.99.163/ipkg_utils.c ipkg-0.99.163+iPhone/ipkg_utils.c
+--- ipkg-0.99.163/ipkg_utils.c 2006-02-06 08:13:02.000000000 +0000
++++ ipkg-0.99.163+iPhone/ipkg_utils.c 2009-06-11 23:35:31.000000000 +0000
+@@ -18,6 +18,8 @@
+ #include "pkg.h"
+ #include "pkg_hash.h"
+
++struct errlist* error_list;
++
+ void print_pkg_status(pkg_t * pkg, FILE * file);
+
+ int get_available_blocks(char * filesystem)