shithub: sox

Download patch

ref: 2905238ab28353b1ed129b43b65f15204b59ba72
parent: cb6e49b89bf3d024943d32fc706d0e781db34b31
author: evilynux <evilynux>
date: Fri Jul 6 02:57:56 EDT 2007

- Added build dependency on ladspa-sdk.
- Removed LDFLAGS -Wl,-z,defs as it's now done upstream.
- Added DEB_DH_MAKESHLIBS_ARGS -Xfmt to avoid useless calls to ldconfig for libsox-fmt-* packages.

--- a/debian/changelog
+++ b/debian/changelog
@@ -20,9 +20,11 @@
     - Added note about experimental ffmpeg formats support.
   * [debian/rules]:
     - Removed fPIC from CFLAGS as libtool takes care of it upstream.
+    - Removed LDFLAGS -Wl,-z,defs as upstream is now doing it.
     - Disabled ffmpeg formats support explicitly, see README.Debian.
-
- -- Pascal Giard <evilynux@gmail.com>  Thu, 05 Jul 2007 04:21:56 -0400
+    - Added DEB_DH_MAKESHLIBS_ARGS -Xfmt to avoid useless calls to ldconfig.
+	
+ -- Pascal Giard <evilynux@gmail.com>  Fri, 06 Jul 2007 02:57:39 -0400
 
 sox (13.0.0-1) unstable; urgency=low
 
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Pascal Giard <pascal@debian.org>
 Uploaders: Guenter Geiger (Debian/GNU) <geiger@debian.org>
-Build-Depends: debhelper (>= 1.2.64), libltdl3-dev, libvorbis-dev, libmad0-dev, libgsm1-dev, libsndfile1-dev (>= 1.0.12), libsamplerate0-dev, cdbs, libao-dev, libasound2-dev [!kfreebsd-i386 !kfreebsd-amd64]
+Build-Depends: debhelper (>= 1.2.64), libltdl3-dev, libvorbis-dev, libmad0-dev, libgsm1-dev, libsndfile1-dev (>= 1.0.12), libsamplerate0-dev, cdbs, libao-dev, ladspa-sdk, libasound2-dev [!kfreebsd-i386 !kfreebsd-amd64]
 Standards-Version: 3.7.2
 
 Package: sox
--- a/debian/rules
+++ b/debian/rules
@@ -8,5 +8,7 @@
 include /usr/share/cdbs/1/class/autotools.mk
 #include /usr/share/cdbs/1/rules/simple-patchsys.mk
 
-DEB_CONFIGURE_SCRIPT_ENV += CFLAGS="-D_REENTRANT" LDFLAGS="-Wl,-z,defs"
+DEB_CONFIGURE_SCRIPT_ENV += CFLAGS="-D_REENTRANT"
 DEB_CONFIGURE_EXTRA_FLAGS := --disable-lame --disable-ffmpeg
+# Takes care of postinst-has-useless-call-to-ldconfig for libsox-fmt-*
+DEB_DH_MAKESHLIBS_ARGS := -Xfmt