Browse Source

upgrading package: sox 14.2.0 -> 14.3.0

master
parent
commit
58bd7cec38
  1. 11
      sox/sox.patch
  2. 11
      sox/sox.spec

11
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

11
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

Loading…
Cancel
Save