Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 396884 Details for
Bug 540586
sys-devel/crossdev fails to find crossdev overlay without unique priority
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Attempt to fix overlay sorting
crossdev-overlay-order.diff (text/plain), 751 bytes, created by
Malte Starostik
on 2015-02-18 23:01:02 UTC
(
hide
)
Description:
Attempt to fix overlay sorting
Filename:
MIME Type:
Creator:
Malte Starostik
Created:
2015-02-18 23:01:02 UTC
Size:
751 bytes
patch
obsolete
>diff --git a/crossdev b/crossdev >index f900215..a5d7383 100755 >--- a/crossdev >+++ b/crossdev >@@ -322,9 +322,10 @@ parse_repo_config() { > if (repo_name && loc) > repos[prio] = repo_name ":" loc > repo_name = gensub(/\[([^\]]*)\]/, "\\1", "", $1) >- loc = prio = "" >+ loc = "" >+ prio = sprintf("%020i-%s", 0, repo_name) > } else if ($1 == "priority") { >- prio = $3 >+ prio = sprintf("%020i-%s", $3, repo_name) > } else if ($1 == "location") { > loc = $3 > } >@@ -333,8 +334,8 @@ parse_repo_config() { > repos[prio] = repo_name ":" loc > > print(main_repo) >- asorti(repos, prios) >- for (prio in prios) >+ num = asorti(repos, prios) >+ for (prio = 1; prio <= num; ++prio) > print(repos[prios[prio]]) > } > ')
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 540586
: 396884