ipkg: added my fast fix to get ipkg 0.99.153 working
authorMarcin Juszkiewicz <hrw@openembedded.org>
Mon, 5 Sep 2005 20:22:58 +0000 (20:22 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Mon, 5 Sep 2005 20:22:58 +0000 (20:22 +0000)
patch already submitted to upstream bugzilla:
http://handhelds.org/~bugzilla/show_bug.cgi?id=1393

packages/ipkg/ipkg-0.99.153/.mtn2git_empty [new file with mode: 0644]
packages/ipkg/ipkg-0.99.153/fix-bug1393.patch [new file with mode: 0644]
packages/ipkg/ipkg_0.99.153.bb

diff --git a/packages/ipkg/ipkg-0.99.153/.mtn2git_empty b/packages/ipkg/ipkg-0.99.153/.mtn2git_empty
new file mode 100644 (file)
index 0000000..e69de29
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 (file)
index 0000000..86af6b1
--- /dev/null
@@ -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);
index 67a8859..99249a8 100644 (file)
@@ -1,3 +1,8 @@
 DEFAULT_PREFERENCE = "-1"
 
 include ipkg.inc
+
+PR = "r1"
+
+SRC_URI += "file://fix-bug1393.patch;patch=1"
+