From 9f3b378418b775a8ad3b43b7d7baff82435194f0 Mon Sep 17 00:00:00 2001 From: fuzzyray Date: Tue, 7 Aug 2007 01:34:10 +0000 Subject: [PATCH] Add patch for FreeBSD from lavajoe (Bug #183657) svn path=/; revision=430 --- trunk/src/revdep-rebuild/revdep-rebuild-rewrite | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/trunk/src/revdep-rebuild/revdep-rebuild-rewrite b/trunk/src/revdep-rebuild/revdep-rebuild-rewrite index 63de189..ac3feae 100755 --- a/trunk/src/revdep-rebuild/revdep-rebuild-rewrite +++ b/trunk/src/revdep-rebuild/revdep-rebuild-rewrite @@ -547,7 +547,7 @@ main_checks() { ) REQUIRED_LIBS=$( expr='s/^[[:space:]]*NEEDED[[:space:]]*\([^[:space:]]*\).*/\1/p'; - objdump -x "$target_file" | sed "$expr" | sort -u + objdump -x "$target_file" | grep NEEDED | sed "$expr" | sort -u ) MISSING_LIBS=$(grep -F "$REQUIRED_LIBS" <<< "$MISSING_LIBS") if [[ $MISSING_LIBS ]]; then @@ -564,7 +564,7 @@ main_checks() { ) REQUIRED_LIBS=$( expr='s/^[[:space:]]*NEEDED[[:space:]]*\([^[:space:]]*\).*/\1/p'; - objdump -x "$target_file" | sed "$expr" | sort -u + objdump -x "$target_file" | grep NEEDED | sed "$expr" | sort -u ) MISSING_LIBS=$(grep -F "$REQUIRED_LIBS" <<< "$MISSING_LIBS") if [[ $MISSING_LIBS ]]; then -- 2.26.2