[sox] added sox-mcompand_clipping.patch to prevent integer overflow

Frantisek Kluknavsky fkluknav at fedoraproject.org
Fri Feb 15 09:28:25 UTC 2013


commit cdfd8d4ba9b31703bcdb5d74fbd3d20e15037327
Author: Frantisek Kluknavsky <fkluknav at redhat.com>
Date:   Fri Feb 15 10:28:19 2013 +0100

    added sox-mcompand_clipping.patch to prevent integer overflow

 sox.spec |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/sox.spec b/sox.spec
index 293ef22..a134cae 100644
--- a/sox.spec
+++ b/sox.spec
@@ -1,11 +1,12 @@
 Summary: A general purpose sound file conversion tool
 Name: sox
 Version: 14.4.1
-Release: 1%{?dist}
+Release: 2%{?dist}
 License: GPLv2+ and LGPLv2+
 Group: Applications/Multimedia
 Source: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
 URL: http://sox.sourceforge.net/
+Patch0: sox-mcompand_clipping.patch
 BuildRequires: libvorbis-devel
 BuildRequires: alsa-lib-devel, libtool-ltdl-devel, libsamplerate-devel
 BuildRequires: gsm-devel, wavpack-devel, ladspa-devel, libpng-devel
@@ -30,6 +31,7 @@ which will use the SoX sound file format converter.
 
 %prep
 %setup -q
+%patch0 -p1 -b .clip
 
 %build
 CFLAGS="$RPM_OPT_FLAGS -D_FILE_OFFSET_BITS=64" %configure --with-dyn-default --with-gsm --includedir=%{_includedir}/sox --disable-static --with-distro=Fedora
@@ -66,6 +68,9 @@ rm -f $RPM_BUILD_ROOT/%{_libdir}/sox/*.a
 
 
 %changelog
+* Fri Feb 15 2013 Frantisek Kluknavsky <fkluknav at redhat.com> - 14.4.1-2
+- added sox-mcompand_clipping.patch to prevent integer overflow
+
 * Thu Feb 14 2013 Frantisek Kluknavsky <fkluknav at redhat.com> - 14.4.1-1
 - rebase to 14.4.1
 


More information about the scm-commits mailing list