diff --git a/0001-src-src_sinc.c-Fix-a-read-beyond-end-of-coefficent-a.patch b/0001-src-src_sinc.c-Fix-a-read-beyond-end-of-coefficent-a.patch deleted file mode 100644 index 293f537..0000000 --- a/0001-src-src_sinc.c-Fix-a-read-beyond-end-of-coefficent-a.patch +++ /dev/null @@ -1,38 +0,0 @@ -From 93b26d6323699df302771b89ee3e7fc30780cc86 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Cristian=20Rodr=C3=ADguez?= -Date: Mon, 15 Apr 2013 23:24:16 -0300 -Subject: [PATCH] src/src_sinc.c : Fix a read beyond end of coefficent array - problem. - -found by gcc 4.8 address sanitizer - -diff --git a/src/src_sinc.c b/src/src_sinc.c -index 0b87066..1cd291b 100644 ---- a/src/src_sinc.c -+++ b/src/src_sinc.c -@@ -201,19 +201,19 @@ sinc_set_converter (SRC_PRIVATE *psrc, int src_enum) - switch (src_enum) - { case SRC_SINC_FASTEST : - temp_filter.coeffs = fastest_coeffs.coeffs ; -- temp_filter.coeff_half_len = ARRAY_LEN (fastest_coeffs.coeffs) - 1 ; -+ temp_filter.coeff_half_len = ARRAY_LEN (fastest_coeffs.coeffs) - 2 ; - temp_filter.index_inc = fastest_coeffs.increment ; - break ; - - case SRC_SINC_MEDIUM_QUALITY : - temp_filter.coeffs = slow_mid_qual_coeffs.coeffs ; -- temp_filter.coeff_half_len = ARRAY_LEN (slow_mid_qual_coeffs.coeffs) - 1 ; -+ temp_filter.coeff_half_len = ARRAY_LEN (slow_mid_qual_coeffs.coeffs) - 2 ; - temp_filter.index_inc = slow_mid_qual_coeffs.increment ; - break ; - - case SRC_SINC_BEST_QUALITY : - temp_filter.coeffs = slow_high_qual_coeffs.coeffs ; -- temp_filter.coeff_half_len = ARRAY_LEN (slow_high_qual_coeffs.coeffs) - 1 ; -+ temp_filter.coeff_half_len = ARRAY_LEN (slow_high_qual_coeffs.coeffs) - 2 ; - temp_filter.index_inc = slow_high_qual_coeffs.increment ; - break ; - --- -1.8.1.4 - diff --git a/libsamplerate-0.1.8.tar.gz b/libsamplerate-0.1.8.tar.gz deleted file mode 100644 index ef68c12..0000000 --- a/libsamplerate-0.1.8.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:93b54bdf46d5e6d2354b7034395fe329c222a966790de34520702bb9642f1c06 -size 4303330 diff --git a/libsamplerate-0.1.9.tar.gz b/libsamplerate-0.1.9.tar.gz new file mode 100644 index 0000000..6fcb457 --- /dev/null +++ b/libsamplerate-0.1.9.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0a7eb168e2f21353fb6d84da152e4512126f7dc48ccb0be80578c565413444c1 +size 4336641 diff --git a/libsamplerate.changes b/libsamplerate.changes index 85d3464..ac24f05 100644 --- a/libsamplerate.changes +++ b/libsamplerate.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Tue Oct 25 19:12:46 UTC 2016 - tom.mbrt@googlemail.com + +- update to version 0.1.9 (2016-09-23) + * Relicense under 2 clause BSD license. + * Minor bug fixes and upates. +- remove 0001-src-src_sinc.c-Fix-a-read-beyond-end-of-coefficent-a.patch + since it was fixed upstream + ------------------------------------------------------------------- Mon Feb 23 14:17:04 UTC 2015 - rguenther@suse.com diff --git a/libsamplerate.spec b/libsamplerate.spec index 9b32919..8d8a3ea 100644 --- a/libsamplerate.spec +++ b/libsamplerate.spec @@ -17,10 +17,10 @@ Name: libsamplerate -Version: 0.1.8 +Version: 0.1.9 Release: 0 Summary: A Sample Rate Converter Library -License: GPL-2.0+ +License: BSD-2-Clause Group: System/Libraries Url: http://www.mega-nerd.com/SRC/ Source0: http://www.mega-nerd.com/SRC/libsamplerate-%{version}.tar.gz @@ -29,8 +29,6 @@ BuildRequires: fftw3-devel BuildRequires: libsndfile-devel BuildRequires: pkgconfig BuildRoot: %{_tmppath}/%{name}-%{version}-build -# PATCH-FIX-UPSTREAM 0001-src-src_sinc.c-Fix-a-read-beyond-end-of-coefficent-a.patch off by one in src_sinc -Patch: 0001-src-src_sinc.c-Fix-a-read-beyond-end-of-coefficent-a.patch %description Secret Rabbit Code (aka libsamplerate) is a Sample Rate Converter for @@ -77,7 +75,7 @@ This package includes the example programs for libsamplerate. %prep %setup -q -%patch -p1 + %build %ifnarch %arm aarch64 # ARM has no working profile support in gcc atm