diff options
Diffstat (limited to 'main/abuild/abuild-git.patch')
-rw-r--r-- | main/abuild/abuild-git.patch | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/main/abuild/abuild-git.patch b/main/abuild/abuild-git.patch index 187d3c4dc2..264952ac2b 100644 --- a/main/abuild/abuild-git.patch +++ b/main/abuild/abuild-git.patch @@ -1,5 +1,5 @@ diff --git a/abuild.in b/abuild.in -index 2780d2e..b86a941 100755 +index 2780d2e..b2e0197 100755 --- a/abuild.in +++ b/abuild.in @@ -404,6 +404,9 @@ default_unpack() { @@ -64,7 +64,7 @@ index 2780d2e..b86a941 100755 found=${j%/.provides-so} found=${found##*/.control.} break -@@ -911,26 +911,109 @@ trace_apk_deps() { +@@ -911,26 +911,113 @@ trace_apk_deps() { fi done @@ -103,15 +103,19 @@ index 2780d2e..b86a941 100755 + +scan_shared_objects() { + local name="$1" controldir="$2" datadir="$3" ++ local opt= + + # allow spaces in paths + IFS=: + set -- $(find_scanelf_paths "$datadir") + unset IFS + ++ if options_has "ldpath-recursive"; then ++ opt="--recursive" ++ fi + msg "Scanning shared objects" + # lets tell all the .so files this package provides in .provides-so -+ scanelf --nobanner --soname "$@" | while read etype soname file; do ++ scanelf --nobanner --soname $opt "$@" | while read etype soname file; do + # if soname field is missing, soname will be the filepath + sover=0 + if [ -z "$file" ]; then @@ -182,7 +186,7 @@ index 2780d2e..b86a941 100755 ( cd "$datadir" # data.tar.gz -@@ -941,6 +1024,7 @@ create_apks() { +@@ -941,6 +1028,7 @@ create_apks() { fi tar -c "$@" | abuild-tar --hash | gzip -9 >"$dir"/data.tar.gz @@ -190,7 +194,7 @@ index 2780d2e..b86a941 100755 # append the hash for data.tar.gz local sha256=$(sha256sum "$dir"/data.tar.gz | cut -f1 -d' ') echo "datahash = $sha256" >> "$dir"/.PKGINFO -@@ -951,10 +1035,12 @@ create_apks() { +@@ -951,10 +1039,12 @@ create_apks() { | gzip -9 > control.tar.gz abuild-sign -q control.tar.gz || exit 1 |