commit 06aece9de1e6649ecdf5652d5912aeb7ad36dad6
Author: Uwe Klotz <uwe.klotz(a)gmail.com>
Date: Sat Apr 22 17:03:23 2023 +0200
Add patch for basetrackcache.cpp
basetrackcache.patch | 15 +++++++++++++++
mixxx.spec | 1 +
2 files changed, 16 insertions(+)
---
diff --git a/basetrackcache.patch b/basetrackcache.patch
new file mode 100644
index 0000000..add2fb6
--- /dev/null
+++ b/basetrackcache.patch
@@ -0,0 +1,15 @@
+diff --git a/src/library/basetrackcache.cpp b/src/library/basetrackcache.cpp
+index 829b190865..d87ba2db70 100644
+--- a/src/library/basetrackcache.cpp
++++ b/src/library/basetrackcache.cpp
+@@ -210,7 +210,7 @@ bool BaseTrackCache::updateTrackInIndex(
+ getTrackValueForColumn(pTrack, i, record[i]);
+ }
+ if (m_bIsCaching) {
+- replaceRecentTrack(std::move(trackId), std::move(pTrack));
++ replaceRecentTrack(std::move(trackId), pTrack);
+ }
+ } else {
+ if (m_bIsCaching) {
+--
+2.40.0
diff --git a/mixxx.spec b/mixxx.spec
index 42982e8..d21341b 100644
--- a/mixxx.spec
+++ b/mixxx.spec
@@ -36,6 +36,7 @@ Source1:
https://github.com/mixxxdj/libkeyfinder/archive/refs/tags/v%{lib
Patch0: disable_werror_in_tests.patch
Patch1: aarch64_asm_operand_widths.patch
Patch2: fidlib-fno-finite-math.patch
+Patch3: basetrackcache.patch
# Build Tools
BuildRequires: desktop-file-utils