]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/ipkg/ipkg-0.99.153/fix-bug1393.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / ipkg / ipkg-0.99.153 / fix-bug1393.patch
1 patch added into upstream bugzilla:
2 http://handhelds.org/~bugzilla/show_bug.cgi?id=1393
3 Index: pkg_hash.c
4 ===================================================================
5 RCS file: /cvs/familiar/dist/ipkg/C/pkg_hash.c,v
6 retrieving revision 1.71
7 diff -u -r1.71 pkg_hash.c
8 --- C/pkg_hash.c        29 Jul 2005 20:19:39 -0000      1.71
9 +++ C/pkg_hash.c        2 Sep 2005 13:23:08 -0000
10 @@ -216,7 +216,8 @@
11                     pkg_t *maybe = vec->pkgs[i];
12                     ipkg_message(conf, IPKG_DEBUG, "  %s arch=%s arch_priority=%d  \n",
13                                  maybe->name, maybe->architecture, maybe->arch_priority);
14 -                   if (maybe->arch_priority > 0)  {
15 +                   if ((maybe->arch_priority > 0) 
16 +                       && ((constraint_fcn == NULL) || constraint_fcn(maybe, cdata))) {
17                          max_count++;
18                          abstract_pkg_vec_insert(matching_apkgs, maybe->parent);
19                          pkg_vec_insert(matching_pkgs, maybe);