Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 189875 Details for
Bug 267898
[PATCH] revdep-rebuild fails to consider -l* in dependency_libs in .la files
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
revdep-rebuild-la.patch
revdep-rebuild-la.patch (text/plain), 1.57 KB, created by
Peter Alfredsen (RETIRED)
on 2009-04-29 17:21:03 UTC
(
hide
)
Description:
revdep-rebuild-la.patch
Filename:
MIME Type:
Creator:
Peter Alfredsen (RETIRED)
Created:
2009-04-29 17:21:03 UTC
Size:
1.57 KB
patch
obsolete
>Index: trunk/src/revdep-rebuild/revdep-rebuild >=================================================================== >--- trunk/src/revdep-rebuild/revdep-rebuild (revision 554) >+++ trunk/src/revdep-rebuild/revdep-rebuild (working copy) >@@ -737,18 +737,39 @@ > fi > elif [[ $SEARCH_BROKEN ]]; then > # Look for broken .la files >+ la_SEARCH_DIRS="$SEARCH_DIRS" >+ la_search_dir="" >+ la_broken="" >+ la_lib="" > for depend in $( > gawk -F"[=']" '/^dependency_libs/{ >- gsub("^-[^[:space:]]*", "", $3); >- gsub("[[:space:]]-[^[:space:]]*", "", $3); > print $3 > }' "$target_file" > ); do > if [[ $depend = /* && ! -e $depend ]]; then > echo "obj $target_file" >> "$BROKEN_FILE" > echo_v " broken $target_file (requires $depend)" >+ elif [[ $depend = "-L/"* || $depend = "-R/"* ]]; then >+ if ! [[ $'\n'${la_SEARCH_DIRS}$'\n' == *$'\n'${depend#-?}$'\n'* ]]; then >+ la_SEARCH_DIRS+=$'\n'"${depend#-?}" >+ fi >+ elif [[ $depend = "-l"* ]]; then >+ la_lib="lib${depend#-l}" >+ la_broken="yes" >+ IFS=$'\n' >+ for la_search_dir in $la_SEARCH_DIRS; do >+ if [[ -e ${la_search_dir}/${la_lib}.so || -e ${la_search_dir}/${la_lib}.a ]]; then >+ la_broken="no" >+ fi >+ done >+ IFS="$OIFS" >+ if [[ $la_broken = yes ]]; then >+ echo "obj $target_file" >> "$BROKEN_FILE" >+ echo_v " broken $target_file (requires $depend)" >+ fi > fi > done >+ unset la_SEARCH_DIRS la_search_dir la_broken la_lib > fi > [[ $VERBOSE ]] && > progress $((++i)) $numFiles $target_file ||
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 267898
: 189875