From 763e909e6172119b0d447ea1c97e70d2b0bcedf6d57a4cee1c7870110db9cc78 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Wed, 15 May 2024 08:39:04 +0000 Subject: [PATCH] Accepting request 1174047 from home:ateixeira:branches:multimedia:libs - Update to 2.3.3: * Fixing compiler warnings, maintenance fixes to make/build files for various systems - Refresh disable-ffast-math.patch OBS-URL: https://build.opensuse.org/request/show/1174047 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/soundtouch?expand=0&rev=45 --- 2.3.2.tar.gz | 3 --- 2.3.3.tar.gz | 3 +++ disable-ffast-math.patch | 40 ++++++++++++++++++++-------------------- soundtouch.changes | 8 ++++++++ soundtouch.spec | 4 ++-- 5 files changed, 33 insertions(+), 25 deletions(-) delete mode 100644 2.3.2.tar.gz create mode 100644 2.3.3.tar.gz diff --git a/2.3.2.tar.gz b/2.3.2.tar.gz deleted file mode 100644 index 95016d9..0000000 --- a/2.3.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:ed714f84a3e748de87b24f385ec69d3bdc51ca47b7f4710d2048b84b2761e7ff -size 583375 diff --git a/2.3.3.tar.gz b/2.3.3.tar.gz new file mode 100644 index 0000000..64c1b4b --- /dev/null +++ b/2.3.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:43b23dfac2f64a3aff55d64be096ffc7b73842c3f5665caff44975633a975a99 +size 606780 diff --git a/disable-ffast-math.patch b/disable-ffast-math.patch index 2f0bf12..b4a3773 100644 --- a/disable-ffast-math.patch +++ b/disable-ffast-math.patch @@ -4,34 +4,34 @@ is undesirable for shared libraries. see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55522 for details. -Index: soundtouch/CMakeLists.txt +Index: b/CMakeLists.txt =================================================================== ---- soundtouch.orig/CMakeLists.txt -+++ soundtouch/CMakeLists.txt -@@ -3,13 +3,6 @@ project(SoundTouch VERSION 2.3.2 LANGUAG +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -9,12 +9,7 @@ set(COMPILE_OPTIONS) + if(MSVC) + set(COMPILE_DEFINITIONS /O2 /fp:fast) + else() +- list(APPEND COMPILE_OPTIONS -Wall -Wextra -Wzero-as-null-pointer-constant -Wno-unknown-pragmas) +- if(EMSCRIPTEN) +- list(APPEND COMPILE_OPTIONS -O3) +- else() +- list(APPEND COMPILE_OPTIONS -Ofast) +- endif() ++ list(APPEND COMPILE_OPTIONS -Wall -Wextra -Wzero-as-null-pointer-constant -Wno-unknown-pragmas -O2) + endif() - include(GNUInstallDirs) - --if(MSVC) -- set(COMPILE_DEFINITIONS /O2 /fp:fast) -- set(COMPILE_OPTIONS ) --else() -- set(COMPILE_OPTIONS -Ofast) --endif() -- ##################### - # SoundTouch library - -Index: soundtouch/configure.ac +Index: b/configure.ac =================================================================== ---- soundtouch.orig/configure.ac -+++ soundtouch/configure.ac +--- a/configure.ac ++++ b/configure.ac @@ -33,7 +33,7 @@ AC_LANG(C++) # Compiler flags. Apply -Ofast (implies -O3 -ffast-math) to allow gcc autovectorization # generate effective SIMD code. --CXXFLAGS+=" -Ofast" -+CXXFLAGS+=" -O2" +-CXXFLAGS="${CXXFLAGS} -Ofast -Wall -Wextra -Wzero-as-null-pointer-constant -Wno-unknown-pragmas" ++CXXFLAGS="${CXXFLAGS} -O2 -Wall -Wextra -Wzero-as-null-pointer-constant -Wno-unknown-pragmas" # Set AR_FLAGS to avoid build warning "ar: `u' modifier ignored since `D' is the default (see `U')" AR_FLAGS='cr' diff --git a/soundtouch.changes b/soundtouch.changes index 807063f..42d0026 100644 --- a/soundtouch.changes +++ b/soundtouch.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Tue May 14 16:11:11 UTC 2024 - Antonio Teixeira + +- Update to 2.3.3: + * Fixing compiler warnings, maintenance fixes to make/build files + for various systems +- Refresh disable-ffast-math.patch + ------------------------------------------------------------------- Mon Feb 26 13:42:21 UTC 2024 - Dominique Leuenberger diff --git a/soundtouch.spec b/soundtouch.spec index 003197d..06a3ae3 100644 --- a/soundtouch.spec +++ b/soundtouch.spec @@ -1,7 +1,7 @@ # # spec file for package soundtouch # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %define sover 1 Name: soundtouch -Version: 2.3.2 +Version: 2.3.3 Release: 0 Summary: Audio Processing Library License: LGPL-2.1-or-later