diff --git a/.gitignore b/.gitignore index d987421..e89a51d 100644 --- a/.gitignore +++ b/.gitignore @@ -33,3 +33,4 @@ guitarix-0.11.0.tar.bz2 /guitarix2-0.40.0.tar.xz /guitarix2-0.42.1.tar.xz /guitarix2-0.43.1.tar.xz +/guitarix2-0.44.1.tar.xz diff --git a/guitarix-mismatched-delete.patch b/guitarix-mismatched-delete.patch new file mode 100644 index 0000000..f927b37 --- /dev/null +++ b/guitarix-mismatched-delete.patch @@ -0,0 +1,20 @@ +diff --git a/src/gx_head/engine/gx_resampler.cpp b/trunk/src/gx_head/engine/gx_resampler.cpp +index 38eaaec7..adbba7cc 100644 +--- a/src/gx_head/engine/gx_resampler.cpp ++++ b/src/gx_head/engine/gx_resampler.cpp +@@ -121,13 +121,13 @@ float *BufferResampler::process(int fs_inp, int ilen, float *input, int fs_outp, + inp_data = input; + float *p = out_data = new float[out_count]; + if (Resampler::process() != 0) { +- delete p; ++ delete[] p; + return 0; + } + inp_data = 0; + inp_count = k/2; + if (Resampler::process() != 0) { +- delete p; ++ delete[] p; + return 0; + } + assert(inp_count == 0); diff --git a/guitarix.spec b/guitarix.spec index 0476e3d..a9777e6 100644 --- a/guitarix.spec +++ b/guitarix.spec @@ -4,12 +4,13 @@ %global altname2 guitarix2 Name: guitarix -Version: 0.43.1 -Release: 4%{?dist} +Version: 0.44.1 +Release: 1%{?dist} Summary: A virtual guitar amplifier License: GPLv2+ URL: http://guitarix.sourceforge.net/ Source0: http://sourceforge.net/projects/%{name}/files/%{name}/%{altname2}-%{version}.tar.xz +Patch0: %{name}-mismatched-delete.patch BuildRequires: gcc-c++ BuildRequires: python3 @@ -208,6 +209,9 @@ appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/org.%{name}.%{ %{_libdir}/lv2/* %changelog +* Fri May 13 2022 Guido Aulisi - 0.44.1-1 +- Update to 0.44.1 + * Wed May 04 2022 Thomas Rodgers - 0.43.1-4 - Rebuilt for Boost 1.78 diff --git a/sources b/sources index 39e4b5a..7808112 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (guitarix2-0.43.1.tar.xz) = 30e56d863308cea18bb4af6f71d3e8d852662b4252c998507a1c3de9a2d97fe1c4ecb525bd35ef8e176b5cb5138806553cba157c1aa6cb14e48fe0bbea8a7def +SHA512 (guitarix2-0.44.1.tar.xz) = d2c0e40762d97ed7ce61c3115fc3800cc569a2bb4f66e09147507a9eaa815fb9d1363444353a5854035755bd1b1e247ccb341aed60ca0ecf6a77019da73064c1