Package: libsndfile Version: 1.0.20-1 Severity: normal Tags: patch User: [email protected] Usertags: origin-ubuntu karmic ubuntu-patch
The libsndfile.la includes references to libraries that libsndfile is linked against, such as libFLAC, and libvorbisenc. Whe na package that depends on libsndfile links against libsndfile, the package in question also gets uselessly linked against those libraries. Clearing the dependency_libs field in libsndfile.la fixes this problem. *** /tmp/tmp_qsPtS In Ubuntu, we've applied the attached patch to achieve the following: * debian/rules: Clear the dependency_libs field in .la files. We thought you might be interested in doing the same. -- System Information: Debian Release: squeeze/sid APT prefers karmic APT policy: (500, 'karmic') Architecture: amd64 (x86_64) Kernel: Linux 2.6.31-5-generic (SMP w/2 CPU cores) Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
diff -u libsndfile-1.0.20/debian/rules libsndfile-1.0.20/debian/rules --- libsndfile-1.0.20/debian/rules +++ libsndfile-1.0.20/debian/rules @@ -51,6 +51,11 @@ $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp + set -e; for FILE in debian/tmp/usr/lib/*.la; \ + do \ + sed -i "/dependency_libs/ s/'.*'/''/" $$FILE; \ + done + binary-indep: build install binary-arch: build install

