diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2010-09-02 11:35:56 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2010-09-20 22:14:28 +0000 |
commit | 1679808da9b5a09734a539c666d195057009f483 (patch) | |
tree | ecd76407a73c1a7d50e81552a6f0fc5a986fb7e1 /main/abuild | |
parent | 31f176e3e5341e480acf6aca31c705d944e64b43 (diff) | |
download | aports-1679808da9b5a09734a539c666d195057009f483.tar.bz2 aports-1679808da9b5a09734a539c666d195057009f483.tar.xz |
main/abuild: add missing patch
(cherry picked from commit ec120632e896c103694d0d634f55583e01b61026)
Diffstat (limited to 'main/abuild')
-rw-r--r-- | main/abuild/gawk.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/main/abuild/gawk.patch b/main/abuild/gawk.patch new file mode 100644 index 0000000000..f0d0e2ed78 --- /dev/null +++ b/main/abuild/gawk.patch @@ -0,0 +1,22 @@ +From a5937e5c4590e806832d880b132c7b364b03e3cc Mon Sep 17 00:00:00 2001 +From: Natanael Copa <ncopa@alpinelinux.org> +Date: Fri, 27 Aug 2010 13:34:33 +0000 +Subject: abuild: support for alternative awks + +some awk's does not understand -F "\ " and treats that as special space +--- +diff --git a/abuild.in b/abuild.in +index fbfee57..24920d5 100755 +--- a/abuild.in ++++ b/abuild.in +@@ -453,7 +453,7 @@ prepare_tracedeps() { + options_has "!tracedeps" && return 0 + find -name '*.so' -o -name '*.so.[0-9]*' | sed 's:.*/::' \ + >"$controldir"/.provides-so +- scanelf -Rn "$dir" | awk -F "\ " '$1 == "ET_DYN" || $1 == "ET_EXEC" {print $2}' \ ++ scanelf -Rn "$dir" | tr ' ' ':' | awk -F ":" '$1 == "ET_DYN" || $1 == "ET_EXEC" {print $2}' \ + | sed 's:,:\n:g' | sort | uniq \ + | while read i; do + # only add files that are not self provided +-- +cgit v0.8.3.1 |