shithub: sox

Download patch

ref: 07ffaa5404928806c2d3e0f3ac41c016baf73f11
parent: 494357fa5c86f41af4b8727c55230040925409fe
author: evilynux <evilynux>
date: Sun Feb 18 01:26:17 EST 2007

Moving toward libsox0. Since it's still libst0, i get the following:
E: libsox0: shlib-missing-in-control-file libst 0 for usr/lib/libst.so.0.0.0
W: libsox0: unused-shlib-entry-in-control-file libsox 0
W: libsox0: package-name-doesnt-match-sonames libst0
W: libsox0: binary-or-shlib-defines-rpath ./usr/lib/libst.so.0.0.0 /usr/lib

If libst0 is not renamed to libsox0, i'll fix debian files.

--- a/debian/changelog
+++ b/debian/changelog
@@ -6,7 +6,7 @@
     - Please see the upstream changelog.
     - Warning: some scripts may break with this new version.
     - sox-dev renamed to libsox-dev.
-    - Created libsox package that contains the SoX library.
+    - Created libsox0 package that contains the SoX library.
     - Guenter set as co-maintainer.
     - soxmix no longer exists.
   * Taking over the package with Guenter's permission.
@@ -16,6 +16,9 @@
       libsndfile1-dev.
     - Added !kfreebsd-amd64 to libasound2-dev (closes: #361487).
   * [debian/patches]: No more patches, everything is fixed upstream.
+  * [debian/rules]: 
+    - Added -D_REENTRANT as required by policy on libraries.
+    - Added -Wl,-z to enforce symbol resolution at build time.
   * [debian/README.Debian]: Added instructions to build from CVS.
 
  -- Pascal Giard <pascal@gmail.com>  Sat, 17 Feb 2007 13:42:33 -0500
--- a/debian/control
+++ b/debian/control
@@ -35,7 +35,7 @@
 Package: libsox-dev
 Architecture: any
 Section: devel
-Depends: libsox (=${Source-Version}), ${shlibs:Depends}
+Depends: libsox0 (=${Source-Version}), ${shlibs:Depends}
 Conflicts: libst-dev
 Description: Development files for the SoX library
  SoX is the swiss army knife of sound processing.
--- a/debian/libsox-dev.install
+++ b/debian/libsox-dev.install
@@ -1,4 +1,4 @@
 debian/tmp/usr/bin/libst-config usr/bin/
-debian/tmp/usr/lib/libst.{a,la} usr/lib/
+debian/tmp/usr/lib/libst.{a,la,so} usr/lib/
 debian/tmp/usr/include/* usr/include/
 debian/tmp/usr/share/man/man3 usr/share/man/
--- a/debian/libsox.dirs
+++ /dev/null
@@ -1,1 +1,0 @@
-usr/lib
--- a/debian/libsox.install
+++ /dev/null
@@ -1,1 +1,0 @@
-debian/tmp/usr/lib/*.so* usr/lib/
--- /dev/null
+++ b/debian/libsox0.dirs
@@ -1,0 +1,1 @@
+usr/lib
--- /dev/null
+++ b/debian/libsox0.install
@@ -1,0 +1,1 @@
+debian/tmp/usr/lib/*.so.*
--- /dev/null
+++ b/debian/libsox0.shlibs
@@ -1,0 +1,1 @@
+libsox 0 libsox0 (>= 13.0.0)