Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 102433 Details for
Bug 154405
app-portage/portage-utils: add overlays support
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
FYI: quse.patch
quse.patch (text/plain), 2.20 KB, created by
samLT
on 2006-11-20 16:19:50 UTC
(
hide
)
Description:
FYI: quse.patch
Filename:
MIME Type:
Creator:
samLT
Created:
2006-11-20 16:19:50 UTC
Size:
2.20 KB
patch
obsolete
>--- quse.c.old 2006-11-23 00:47:15.040578639 +0100 >+++ quse.c 2006-11-23 00:44:37.352550863 +0100 >@@ -103,7 +103,7 @@ int quse_describe_flag(int ind, short re > for (i = 0; i < NUM_SEARCH_FILES; ++i) { > snprintf(buf, sizeof(buf), "%s/profiles/%s", cur_overlay->path, search_files[i]); > if ((fp[i] = fopen(buf, "r")) == NULL) >- if (verbose ) >+ if (verbose>2) > warnp("skipping %s for the %s overlay", search_files[i], cur_overlay->name); > } > >@@ -192,7 +192,7 @@ skip_file: > continue; > snprintf(buf, sizeof(buf), "%s/profiles/desc/", cur_overlay->path); > if (!(d = opendir(buf))) { >- if (verbose) >+ if (verbose>2) > warn("Could not open %s -> skipping", buf); > continue; > } >@@ -305,7 +305,7 @@ int quse_main(int argc, char **argv) > if (idx == -1) > return quse_describe_flag(optind, repo, repo_search, argc, argv); > >- if (quse_all) optind = argc; >+ /* if (quse_all) optind = argc; */ > initialize_ebuild_flat(); /* sets our pwd to $PORTDIR */ > > search_len = strlen(search_vars[idx]); >@@ -352,6 +352,14 @@ int quse_main(int argc, char **argv) > continue; > } > >+ if ((quse_all) && optind!=argc) { >+ for (i=optind;i<argc;i++) >+ if ((strstr(ebuild,argv[i]))) >+ break; >+ if (i==argc) >+ continue; >+ } >+ > if ((p = strchr(ebuild, '\n')) != NULL) > *p = 0; > if ((newfp = fopen(ebuild, "r")) != NULL) { >@@ -478,6 +486,8 @@ int quse_main(int argc, char **argv) > printf("%s %s %s ", *user ? user : "MISSING", *revision ? revision : "MISSING", *date ? date : "MISSING"); > > printf("%s%s::%s%s ", CYAN, cur_overlay->name, ebuild, NORM); >+ if (quse_all) >+ print_highlighted_use_flags(&buf0[search_len+1], argc, argc, argv); >+ else >+ print_highlighted_use_flags(&buf0[search_len+1], optind, argc, argv); > print_highlighted_use_flags(&buf0[search_len+1], optind, argc, argv); > puts(NORM); > if (verbose > 1) { >@@ -485,7 +495,7 @@ int quse_main(int argc, char **argv) > int ARGC = 0; > makeargv(&buf0[search_len+1], &ARGC, &ARGV); > if (ARGC > 0) { >- quse_describe_flag(1, repo, repo_search, ARGC, ARGV); >+ quse_describe_flag(1, 0, repo_search, ARGC, ARGV); > for (i = 0; i < ARGC; i++) > free(ARGV[i]); > free(ARGV);
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 154405
:
101420
|
101495
|
101520
|
101575
|
101690
|
101699
|
101723
|
101730
|
101779
|
101954
|
102433
|
102434
|
104816
|
107119
|
107120
|
107183
|
107184
|
107450