commit 11ae769dc022fe31573c72c2023cfdaa8e34a54e
Author: Uwe Klotz <uwe.klotz(a)gmail.com>
Date: Sun Jul 23 23:27:14 2023 +0200
Ignore bogus stringop-overflow warnings
mixxx.spec | 7 ++++---
sources | 2 +-
wno-stringop-overflow.patch | 20 ++++++++++++++++++++
3 files changed, 25 insertions(+), 4 deletions(-)
---
diff --git a/mixxx.spec b/mixxx.spec
index 7290fa5..7b6c6a6 100644
--- a/mixxx.spec
+++ b/mixxx.spec
@@ -7,9 +7,9 @@
%global extraver beta
# Optional: Only used for untagged snapshot versions
-%global gitcommit f73413685fe173a07239c66a3a8d619c954f8e74
+%global gitcommit 0550e07eddcb7d45256038c67fac13f40d52328d
# Format: <yyyymmdd>
-%global gitcommitdate 20230713
+%global gitcommitdate 20230723
# Additional sources
%global libkeyfinder_version 2.2.6
@@ -37,6 +37,7 @@ Source0:
https://github.com/mixxxdj/%{name}/archive/%{sources}/%{name}-%{
# as a fragment identifier to the URL to populate SOURCE<n> correctly
Source1:
https://github.com/mixxxdj/libkeyfinder/archive/refs/tags/v%{libkeyfinder...
Source2:
https://github.com/xsco/libdjinterop/archive/refs/tags/%{libdjinterop_ver...
+Patch0: wno-stringop-overflow.patch
# Build Tools
BuildRequires: desktop-file-utils
@@ -217,7 +218,7 @@ appstreamcli \
%{_udevrulesdir}/69-%{name}-usb-uaccess.rules
%changelog
-* Thu Jul 13 2023 Uwe Klotz <uwe.klotz(a)gmail.com> - 2.4.0-0.1
+* Sun Jul 23 2023 Uwe Klotz <uwe.klotz(a)gmail.com> - 2.4.0-0.1
- New upstream snapshot 2.4.0-beta
* Wed May 10 2023 Uwe Klotz <uwe.klotz(a)gmail.com> - 2.3.5-1
diff --git a/sources b/sources
index f3af47b..b1a7d97 100644
--- a/sources
+++ b/sources
@@ -1,3 +1,3 @@
SHA512 (libdjinterop-0.19.1.tar.gz) =
7becb83ab62412b3d437ddee23b248a697b162f6b8a64070cd8a9782a4fce7726baaf12ea193b8e21bcf561a00039ab1ae1f04d00e6cbe8344ec19751779db14
SHA512 (libkeyfinder-2.2.6.zip) =
23ffcc4da59019349824b60dd1b125d559f39d7731fe7f00cdc8f4a97a342fa59ef5183c4e272ff4c5fd06eaa89c581e07fdb26bcfd3c98cc42d2dcc29e13e1e
-SHA512 (mixxx-f73413685fe173a07239c66a3a8d619c954f8e74.tar.gz) =
4196da40e93c1942cbb58ae481c34ff0c2f36c81d72985e3c287f41963ad30ef431d834dd8bbd852b21a95ae44e61dddb58dfb3d9f494eccd5ed8dd2f80b1b51
+SHA512 (mixxx-0550e07eddcb7d45256038c67fac13f40d52328d.tar.gz) =
fcaee79230a25406f3746f8864207bc24cf9e1c4b81ee178731bee9b782813299459509647157a02cd90868efe39ae3755afa8bbeeccaae633e1a7ad992795e8
diff --git a/wno-stringop-overflow.patch b/wno-stringop-overflow.patch
new file mode 100644
index 0000000..17d8f6e
--- /dev/null
+++ b/wno-stringop-overflow.patch
@@ -0,0 +1,20 @@
+---
+ CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 559e331358..2ac18422b2 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -1325,7 +1325,7 @@ if(MSVC)
+ endif()
+ else()
+ # TODO: Add -Wtrampolines, not yet supported by clazy
+- target_compile_options(mixxx-lib PUBLIC -Wall -Wextra
$<$<COMPILE_LANGUAGE:CXX>:-Woverloaded-virtual> -Wfloat-conversion
-Werror=return-type -Wformat=2 -Wformat-security -Wvla -Wundef)
++ target_compile_options(mixxx-lib PUBLIC -Wall -Wextra
$<$<COMPILE_LANGUAGE:CXX>:-Woverloaded-virtual> -Wfloat-conversion
-Werror=return-type -Wformat=2 -Wformat-security -Wvla -Wundef
-Wno-error=stringop-overflow)
+ if(WARNINGS_PEDANTIC)
+ target_compile_options(mixxx-lib PUBLIC -pedantic)
+ endif()
+--
+2.41.0
+