[pkg-wine-party] [wine] 252/254: Use unversioned solinks in sonames2elf.

Jens Reyer jreyer-guest at moszumanska.debian.org
Fri Oct 13 19:29:07 UTC 2017


This is an automated email from the git hooks/post-receive script.

jreyer-guest pushed a commit to branch master
in repository wine.

commit a4f680ff76d54d1251be264660f79fab64941dd1
Author: Jens Reyer <jre.winesim at gmail.com>
Date:   Thu Oct 12 23:15:27 2017 +0200

    Use unversioned solinks in sonames2elf.
    
    Closes: #827770
---
 debian/scripts/sonames2elf | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/debian/scripts/sonames2elf b/debian/scripts/sonames2elf
index 5901b3d..a69d8a5 100755
--- a/debian/scripts/sonames2elf
+++ b/debian/scripts/sonames2elf
@@ -34,7 +34,10 @@ then
 fi
 tmpdir=$(mktemp -d -t sonames2elf.XXXXXX)
 cd "$tmpdir"
-printf 'INPUT(%s)\n' "$@" > libeverything.so
+# Use the unversioned solink because the soname might be not found.
+# solink always points to the default soname, which is what wine uses.
+SOLINKS="$(echo $@ | sed "s|\([[:alnum:]]*\.so\)[\.[0-9]*]*|\1|g")"
+printf 'INPUT(%s)\n' "$SOLINKS" > libeverything.so
 gcc -shared -Wl,--no-as-needed -L. -leverything -o elf
 cat elf
 rm -rf "$tmpdir"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wine/wine.git



More information about the pkg-wine-party mailing list