]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - pakfire/patches/0002-find-provides-Accept-bogous-soname.patch
pakfire: Sync to upstream version.
[people/ms/ipfire-3.x.git] / pakfire / patches / 0002-find-provides-Accept-bogous-soname.patch
1 From cf4f218f42c2a43a520eac4f3a6251d557dcbe80 Mon Sep 17 00:00:00 2001
2 From: Michael Tremer <michael.tremer@ipfire.org>
3 Date: Tue, 17 Apr 2012 17:36:52 +0200
4 Subject: [PATCH 2/8] find-provides: Accept bogous soname.
5
6 This is a kind of weird bug. Some libs are "versioned" by
7 using their SONAME for symbol maps. This caused trouble
8 because the SONAME was not added to the list of provides
9 which is now changed by this commit.
10 ---
11 tools/find-provides | 1 -
12 1 files changed, 0 insertions(+), 1 deletions(-)
13
14 diff --git a/tools/find-provides b/tools/find-provides
15 index 2e138ba..06b3c47 100755
16 --- a/tools/find-provides
17 +++ b/tools/find-provides
18 @@ -69,7 +69,6 @@ for file in ${binary_files}; do
19 /Version definitions:/ { START=1; }
20 /^[0-9]/ && (START==1) { print $4; }
21 /^$/ { START=0; }' | \
22 - grep -v ${soname} | \
23 while read symbol ; do
24 echo "${soname}(${symbol})$(${is_64} && echo ${mark64} | sed 's/()//')"
25 done
26 --
27 1.7.7.6
28