From: | "Paul Varner (fuzzyray)" <fuzzyray@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-portage/gentoolkit/files: revdep-rebuild.143498.patch |
Date: | Mon, 01 Mar 2010 19:58:08 |
Message-Id: | E1NmBkk-0006bK-Ht@stork.gentoo.org |
1 | fuzzyray 10/03/01 19:58:06 |
2 | |
3 | Added: revdep-rebuild.143498.patch |
4 | Log: |
5 | Revision bump to add patch to fully fix Bug 143498 |
6 | (Portage version: 2.2_rc63/cvs/Linux i686) |
7 | |
8 | Revision Changes Path |
9 | 1.1 app-portage/gentoolkit/files/revdep-rebuild.143498.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-portage/gentoolkit/files/revdep-rebuild.143498.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-portage/gentoolkit/files/revdep-rebuild.143498.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: revdep-rebuild.143498.patch |
15 | =================================================================== |
16 | --- gentoolkit-0.2.4.6/src/revdep-rebuild/revdep-rebuild (revision 745) |
17 | +++ gentoolkit-0.2.4.6/src/revdep-rebuild/revdep-rebuild (working copy) |
18 | @@ -18,7 +18,7 @@ |
19 | |
20 | # Readonly variables: |
21 | declare -r APP_NAME="${0##*/}" # The name of this application |
22 | -declare -r VERSION="svn" |
23 | +declare -r VERSION="genscripts-r230" |
24 | declare -r OIFS="$IFS" # Save the IFS |
25 | declare -r ENV_FILE=0_env.rr # Contains environment variables |
26 | declare -r FILES_FILE=1_files.rr # Contains a list of files to search |
27 | @@ -757,8 +757,8 @@ |
28 | # FIXME: I hate duplicating code |
29 | # Only rebuild for direct dependencies |
30 | MISSING_LIBS=$( |
31 | - expr="/$SONAME_SEARCH/s/^[[:space:]]*\([^[:space:]]*\).*$/\1/p" |
32 | - sort -u <<< "$ldd_output" | sed -n "$expr" |
33 | + expr="s/^[[:space:]]*\([^[:space:]]*\).*$/\1/p" |
34 | + sort -u <<< "$ldd_output" | grep -E "$SONAME | sed -n "$expr" |
35 | ) |
36 | REQUIRED_LIBS=$( |
37 | expr='s/^[[:space:]]*NEEDED[[:space:]]*\([^[:space:]]*\).*/\1/p'; |