Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 65763 Details for
Bug 102255
revdep-rebuild g/fbsd support
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
revdep-rebuild-gfbsd.patch
revdep-rebuild-gfbsd.patch (text/plain), 1.18 KB, created by
Diego Elio Pettenò (RETIRED)
on 2005-08-12 08:42:49 UTC
(
hide
)
Description:
revdep-rebuild-gfbsd.patch
Filename:
MIME Type:
Creator:
Diego Elio Pettenò (RETIRED)
Created:
2005-08-12 08:42:49 UTC
Size:
1.18 KB
patch
obsolete
>--- /usr/bin/revdep-rebuild 2005-08-10 17:40:49 +0000 >+++ revdep-rebuild 2005-08-12 15:35:08 +0000 >@@ -256,13 +256,20 @@ > WORKING_TEXT="" > fi > >+# check if it's GNU's stat or BSD's stat... >+if stat 2>&1 | grep coreutils; then >+ STAT="stat -c %Y " >+else >+ STAT="stat -f %m " >+fi >+ > # If our temporary files are older than 1 day, don't use them > TOO_OLD=$((`date +%s` - 86400)) > for file in ${LIST}* > do > if [ -f $file ] > then >- FILE_AGE="$(stat -c %Y $file)" >+ FILE_AGE="$(${STAT} $file)" > if [ $FILE_AGE -lt $TOO_OLD ] > then > rm -f ${LIST}* >@@ -369,7 +376,7 @@ > if LD_LIBRARY_PATH="$COMPLETE_LD_LIBRARY_PATH" ldd "$FILE" 2>/dev/null | grep -v "$LD_MASK" | $SONAME_GREP -q "$SONAME_SEARCH" ; then > # FIX: I hate duplicating code > # Only build missing direct dependencies >- ALL_MISSING_LIBS=$(ldd "$FILE" 2>/dev/null | sort -u | sed -n 's/ \(.*\) => not found$/\1/p' | tr '\n' ' ' | sed 's/ $//' ) >+ ALL_MISSING_LIBS=$(ldd "$FILE" 2>/dev/null | sort -u | sed -n 's/ \(.*\) => not found/\1/p' | tr '\n' ' ' | sed 's/ $//' ) > REQUIRED_LIBS=$(objdump -x $FILE | grep NEEDED | awk '{print $2}' | tr '\n' ' ' | sed 's/ $//') > MISSING_LIBS="" > for lib in $ALL_MISSING_LIBS
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 102255
: 65763