Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 50116 Details for
Bug 80318
eix-0.2.0_alpha doesn't know custom PORTDIR
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
corrects the PORTDIR issue
eix-0.2.0_alpha.patch (text/plain), 1.63 KB, created by
Christian Heim (RETIRED)
on 2005-02-01 04:27:02 UTC
(
hide
)
Description:
corrects the PORTDIR issue
Filename:
MIME Type:
Creator:
Christian Heim (RETIRED)
Created:
2005-02-01 04:27:02 UTC
Size:
1.63 KB
patch
obsolete
>diff -urN eix-0.2.0_alpha/work/eix-0.2.0_alpha/src/portagedb.cc eix-0.2.0_alpha-corrected/work/eix-0.2.0_alpha/src/portagedb.cc >--- eix-0.2.0_alpha/work/eix-0.2.0_alpha/src/portagedb.cc 2005-02-01 13:08:57.000000000 +0100 >+++ eix-0.2.0_alpha-corrected/work/eix-0.2.0_alpha/src/portagedb.cc 2005-02-01 13:05:05.000000000 +0100 >@@ -119,11 +119,11 @@ > { > // get portdir > VarsReader vr("/etc/make.conf"); >- portdir = vr["portdir"]; >+ portdir = vr["PORTDIR"]; > if( portdir.size() == 0 ) > portdir = "/usr/portage/"; > else >- /* dont neet to do this because "/usr/" is the same as "/usr//" >+ /* dont need to do this because "/usr/" is the same as "/usr//" > * else if( portdir[portdir.size() - 1] != '/' ) */ > portdir.append("/"); > >diff -urN eix-0.2.0_alpha/work/eix-0.2.0_alpha/src/version.cc eix-0.2.0_alpha-corrected/work/eix-0.2.0_alpha/src/version.cc >--- eix-0.2.0_alpha/work/eix-0.2.0_alpha/src/version.cc 2005-01-31 22:39:22.000000000 +0100 >+++ eix-0.2.0_alpha-corrected/work/eix-0.2.0_alpha/src/version.cc 2005-02-01 13:11:10.000000000 +0100 >@@ -61,7 +61,7 @@ > else > { > primary = full; >- cerr << "Error in versions.cc: regexec(\"" << full << "\") failed. can't determine primary version." << endl; >+ cerr << "Error in version.cc: regexec(\"" << full << "\") failed. can't determine primary version." << endl; > } > > // try to split primary version >@@ -86,7 +86,7 @@ > gr+=2; > gentoorelease=strtol(gr,NULL,10); > if( gentoorelease == 0 ) { >- cerr << "Error in versions.cc: invalid gentoo release number in \"" << full << "\"" << endl; >+ cerr << "Error in version.cc: invalid gentoo release number in \"" << full << "\"" << endl; > } > } >
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 80318
: 50116