Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package guitarix for openSUSE:Factory checked in at 2023-04-01 19:30:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/guitarix (Old) and /work/SRC/openSUSE:Factory/.guitarix.new.9019 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "guitarix" Sat Apr 1 19:30:23 2023 rev:36 rq:1076460 version:0.44.1 Changes: -------- --- /work/SRC/openSUSE:Factory/guitarix/guitarix.changes 2022-05-03 21:19:26.469033950 +0200 +++ /work/SRC/openSUSE:Factory/.guitarix.new.9019/guitarix.changes 2023-04-01 19:30:44.516874959 +0200 @@ -1,0 +2,10 @@ +Fri Mar 31 11:51:22 UTC 2023 - Dave Plater <[email protected]> + +- Added patches from fedora one of which fixes Factory build + without ladspa plugins. Disabled ladspa plugin build until a fix + is found. +- Patches added: guitarix-cstdint-include.patch, + guitarix-mismatched-delete.patch and + guitarix-python-3.11-ftbfs.patch. + +------------------------------------------------------------------- New: ---- guitarix-cstdint-include.patch guitarix-mismatched-delete.patch guitarix-python-3.11-ftbfs.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ guitarix.spec ++++++ --- /var/tmp/diff_new_pack.YcDH4D/_old 2023-04-01 19:30:45.520880229 +0200 +++ /var/tmp/diff_new_pack.YcDH4D/_new 2023-04-01 19:30:45.528880271 +0200 @@ -1,7 +1,7 @@ # # spec file for package guitarix # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ %define _lto_cflags %{nil} -%bcond_without ladspa +%bcond_with ladspa Name: guitarix Version: 0.44.1 @@ -27,6 +27,12 @@ Group: Productivity/Multimedia/Sound/Utilities URL: http://guitarix.sourceforge.net/ Source: http://downloads.sourceforge.net/project/guitarix/guitarix/guitarix2-%{version}.tar.xz + +# Patches from Fedora +Patch0: guitarix-cstdint-include.patch +Patch1: guitarix-mismatched-delete.patch +Patch2: guitarix-python-3.11-ftbfs.patch + BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: gperf @@ -146,6 +152,7 @@ %prep %setup -q -n guitarix-%{version} +%autopatch -p 1 %build #todo: add faust package to openSUSE ++++++ guitarix-cstdint-include.patch ++++++ diff --git a/src/LV2/DSP/gx_common.h b/trunk/src/LV2/DSP/gx_common.h index 71108442..132a6839 100644 --- a/src/LV2/DSP/gx_common.h +++ b/src/LV2/DSP/gx_common.h @@ -22,7 +22,7 @@ #ifndef SRC_HEADERS_GX_COMMON_H_ #define SRC_HEADERS_GX_COMMON_H_ - +#include <cstdint> #include <cstdlib> #include <cmath> #include <iostream> ++++++ guitarix-mismatched-delete.patch ++++++ 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); ++++++ guitarix-python-3.11-ftbfs.patch ++++++ diff --git a/wscript b/trunk/wscript index b915199a..f3e4d129 100644 --- a/wscript +++ b/wscript @@ -534,7 +534,7 @@ def sub_file(task): dst_fname = task.outputs[0].abspath() lst = task.generator.sub_list - with open(src_fname, 'rU') as f: + with open(src_fname, 'r') as f: txt = f.read() for (key, val) in lst: re_pat = re.compile(key, re.M)
