summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2005-09-05 20:22:58 +0000
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>2005-09-05 20:22:58 +0000
commite90c94cf35b20b01da38ec1cabcba7a1ca8a42f8 (patch)
tree9db8739ac65e9a1a33cf7bba4460a65a789125d4
parent9487c036b3001c7554b70887da5f11bf567ffb93 (diff)
ipkg: added my fast fix to get ipkg 0.99.153 working
patch already submitted to upstream bugzilla: http://handhelds.org/~bugzilla/show_bug.cgi?id=1393
-rw-r--r--packages/ipkg/ipkg-0.99.153/.mtn2git_empty0
-rw-r--r--packages/ipkg/ipkg-0.99.153/fix-bug1393.patch19
-rw-r--r--packages/ipkg/ipkg_0.99.153.bb5
3 files changed, 24 insertions, 0 deletions
diff --git a/packages/ipkg/ipkg-0.99.153/.mtn2git_empty b/packages/ipkg/ipkg-0.99.153/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/ipkg/ipkg-0.99.153/.mtn2git_empty
diff --git a/packages/ipkg/ipkg-0.99.153/fix-bug1393.patch b/packages/ipkg/ipkg-0.99.153/fix-bug1393.patch
new file mode 100644
index 0000000000..86af6b1d8e
--- /dev/null
+++ b/packages/ipkg/ipkg-0.99.153/fix-bug1393.patch
@@ -0,0 +1,19 @@
+patch added into upstream bugzilla:
+http://handhelds.org/~bugzilla/show_bug.cgi?id=1393
+Index: pkg_hash.c
+===================================================================
+RCS file: /cvs/familiar/dist/ipkg/C/pkg_hash.c,v
+retrieving revision 1.71
+diff -u -r1.71 pkg_hash.c
+--- C/pkg_hash.c 29 Jul 2005 20:19:39 -0000 1.71
++++ C/pkg_hash.c 2 Sep 2005 13:23:08 -0000
+@@ -216,7 +216,8 @@
+ pkg_t *maybe = vec->pkgs[i];
+ ipkg_message(conf, IPKG_DEBUG, " %s arch=%s arch_priority=%d \n",
+ maybe->name, maybe->architecture, maybe->arch_priority);
+- if (maybe->arch_priority > 0) {
++ if ((maybe->arch_priority > 0)
++ && ((constraint_fcn == NULL) || constraint_fcn(maybe, cdata))) {
+ max_count++;
+ abstract_pkg_vec_insert(matching_apkgs, maybe->parent);
+ pkg_vec_insert(matching_pkgs, maybe);
diff --git a/packages/ipkg/ipkg_0.99.153.bb b/packages/ipkg/ipkg_0.99.153.bb
index 67a8859fe0..99249a8d55 100644
--- a/packages/ipkg/ipkg_0.99.153.bb
+++ b/packages/ipkg/ipkg_0.99.153.bb
@@ -1,3 +1,8 @@
DEFAULT_PREFERENCE = "-1"
include ipkg.inc
+
+PR = "r1"
+
+SRC_URI += "file://fix-bug1393.patch;patch=1"
+