Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 117117 Details for
Bug 175781
virtual/jdk-1.4.2 pulls in sun-jdk when kaffe is already installed
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
add a higher preference priority to ensure that kaffe is properly preferred
prefer.patch (text/plain), 1.30 KB, created by
Zac Medico
on 2007-04-24 07:02:16 UTC
(
hide
)
Description:
add a higher preference priority to ensure that kaffe is properly preferred
Filename:
MIME Type:
Creator:
Zac Medico
Created:
2007-04-24 07:02:16 UTC
Size:
1.30 KB
patch
obsolete
>Index: pym/portage.py >=================================================================== >--- pym/portage.py (revision 6432) >+++ pym/portage.py (revision 6433) >@@ -4156,6 +4156,7 @@ > # d) is the first item > > preferred = [] >+ preferred_any_slot = [] > possible_upgrades = [] > other = [] > >@@ -4209,8 +4210,20 @@ > if not vardb.match(atom) and not atom.startswith("virtual/"): > all_installed = False > break >+ all_installed_slots = False > if all_installed: >- preferred.append(this_choice) >+ all_installed_slots = True >+ for slot_atom in versions: >+ # New-style virtuals have zero cost to install. >+ if not vardb.match(slot_atom) and \ >+ not slot_atom.startswith("virtual/"): >+ all_installed_slots = False >+ break >+ if all_installed: >+ if all_installed_slots: >+ preferred.append(this_choice) >+ else: >+ preferred_any_slot.append(this_choice) > else: > possible_upgrades.append(this_choice) > else: >@@ -4222,6 +4235,7 @@ > # into || ( highest version ... lowest version ). We want to prefer the > # highest all_available version of the new-style virtual when there is a > # lower all_installed version. >+ preferred.extend(preferred_any_slot) > preferred.extend(possible_upgrades) > possible_upgrades = preferred[1:] > for possible_upgrade in possible_upgrades:
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 175781
: 117117