From 58bd7cec3867fb16ce153a0668f9fc8f592337ee Mon Sep 17 00:00:00 2001 From: "Ralf S. Engelschall" Date: Wed, 6 Jan 2010 09:12:31 +0000 Subject: [PATCH] upgrading package: sox 14.2.0 -> 14.3.0 --- sox/sox.patch | 11 +++++++++++ sox/sox.spec | 11 +++++++---- 2 files changed, 18 insertions(+), 4 deletions(-) create mode 100644 sox/sox.patch diff --git a/sox/sox.patch b/sox/sox.patch new file mode 100644 index 0000000000..960d3191d2 --- /dev/null +++ b/sox/sox.patch @@ -0,0 +1,11 @@ +Index: src/formats.c +--- src/formats.c.orig 2009-06-15 03:14:53 +0200 ++++ src/formats.c 2010-01-06 09:49:29 +0100 +@@ -403,7 +403,6 @@ + /* To fix this #error, either simply remove the #error line and live without + * file-type detection with pipes, or add support for your compiler in the + * lines above. Test with cat monkey.au | ./sox --info - */ +- #error FIX NEEDED HERE + #define NO_REWIND_PIPE + (void)fp; + #endif diff --git a/sox/sox.spec b/sox/sox.spec index 9d97528880..0a4c91e3a1 100644 --- a/sox/sox.spec +++ b/sox/sox.spec @@ -31,11 +31,12 @@ Distribution: OpenPKG Community Class: PLUS Group: Audio License: LGPL -Version: 14.2.0 -Release: 20090327 +Version: 14.3.0 +Release: 20100106 # list of sources Source0: http://switch.dl.sourceforge.net/sourceforge/sox/sox-%{version}.tar.gz +Patch0: sox.patch # build information Prefix: %{l_prefix} @@ -56,11 +57,12 @@ AutoReqProv: no prog sox = { version = %{version} url = http://sourceforge.net/projects/sox/files/ - regex = sox-(__VER__)\.tar\.gz + regex = sox-(\d+\.\d+\.\d+)\.tar\.gz } %prep %setup -q + %patch -p0 %build export CC="%{l_cc}" @@ -73,7 +75,8 @@ AutoReqProv: no esac ./configure \ --prefix=%{l_prefix} \ - --mandir=%{l_prefix}/man + --mandir=%{l_prefix}/man \ + --disable-shared %{l_make} %{l_mflags -O} %install