Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 326308 Details for
Bug 437986
app-admin/eselect - eselect profile set default/bsd/fbsd/amd64/9.1 will not work correctly
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
sample patch for profile.eselect and package-manager.bash.in
437986-new.patch (text/plain), 1.24 KB, created by
Yuta SATOH
on 2012-10-11 17:37:11 UTC
(
hide
)
Description:
sample patch for profile.eselect and package-manager.bash.in
Filename:
MIME Type:
Creator:
Yuta SATOH
Created:
2012-10-11 17:37:11 UTC
Size:
1.24 KB
patch
obsolete
>diff -Nur eselect-1.3.2.orig/libs/package-manager.bash.in eselect-1.3.2/libs/package-manager.bash.in >--- eselect-1.3.2.orig/libs/package-manager.bash.in 2012-03-08 07:32:04.000000000 +0900 >+++ eselect-1.3.2/libs/package-manager.bash.in 2012-10-12 02:29:24.000000000 +0900 >@@ -64,7 +64,7 @@ > s390*) ret=s390 ;; > sh*) ret=sh ;; > sparc*) ret=sparc ;; >- x86_64) ret=amd64 ;; >+ x86_64|amd64) ret=amd64 ;; > *) write_warning_msg \ > "Unknown architecture. Please submit a bug including the output of 'uname -m'" > return 1 >diff -Nur eselect-1.3.2.orig/modules/profile.eselect eselect-1.3.2/modules/profile.eselect >--- eselect-1.3.2.orig/modules/profile.eselect 2012-09-13 07:19:33.000000000 +0900 >+++ eselect-1.3.2/modules/profile.eselect 2012-10-12 02:28:33.000000000 +0900 >@@ -95,7 +95,7 @@ > repopath=$(get_repo_path "${repo}") || die -q "get_repo_path failed" > # do a reverse lookup and find the arch associated with ${target} > parch=$(sed -n -e \ >- "s|^\([[:alnum:]]\+\)[[:space:]].*${target}[[:space:]].*$|\1|p" \ >+ "s|^\([[:alnum:]\-]\+\)[[:space:]].*${target}[[:space:]].*$|\1|p" \ > "${repopath}/profiles/profiles.desc") > [[ ${arch} != "${parch}" && -z ${force} ]] \ > && die -q "${target} is not a valid profile for ${arch}"
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 437986
:
326286
| 326308