]> git.ipfire.org Git - pakfire.git/commitdiff
find-provides: Accept bogous soname.
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 17 Apr 2012 15:36:52 +0000 (17:36 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 17 Apr 2012 15:36:52 +0000 (17:36 +0200)
This is a kind of weird bug. Some libs are "versioned" by
using their SONAME for symbol maps. This caused trouble
because the SONAME was not added to the list of provides
which is now changed by this commit.

tools/find-provides

index 2e138baf2461f7f89df4d7c3d8cd4144b76549d6..06b3c4797bc390bc150506909deb720fa0fbfda2 100755 (executable)
@@ -69,7 +69,6 @@ for file in ${binary_files}; do
                /Version definitions:/ { START=1; }
                /^[0-9]/ && (START==1) { print $4; }
                /^$/ { START=0; }' | \
-                grep -v ${soname} | \
                 while read symbol ; do
                     echo "${soname}(${symbol})$(${is_64} && echo ${mark64} | sed 's/()//')"
                 done