Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/build-packages10
1 files changed, 10 insertions, 0 deletions
diff --git a/bin/build-packages b/bin/build-packages
index 4335d53..6c951dd 100755
--- a/bin/build-packages
+++ b/bin/build-packages
@@ -513,6 +513,16 @@ while [ "${count}" -ne 0 ] && \
' | \
sort -u > \
"${pkgfile}.so.needs"
+ sed -i '
+ /^\(libav.*\.so\)\.[0-9]\+$/ {
+ :a
+ N
+ s/^\(libav.*\.so\)\(\.[0-9]\+\)\?\n\1\.[0-9]\+$/\1/
+ t a
+ P
+ D
+ }
+ ' "${pkgfile}.so.needs"
find "${package_content_dir}/${pkgfile##*/}" \
-name 'opt' -prune , \
-exec objdump -x '{}' \; 2>/dev/null | \