audacity 3.0.2-2 (znver1;x86_64) 2021-13863
-9999

Status rejected
Submitter benbullard79 [@T] cox.net
Platform 4.2
Repository main
URL https://abf.openmandriva.org/build_lists/45146
Packages
audacity-3.0.2-2.znver1.source
audacity-3.0.2-2.znver1.binary
audacity-debuginfo-3.0.2-2.znver1.debuginfo
audacity-debugsource-3.0.2-2.znver1.binary
audacity-3.0.2-2.x86_64.binary
audacity-3.0.2-2.x86_64.source
audacity-debuginfo-3.0.2-2.x86_64.debuginfo
audacity-debugsource-3.0.2-2.x86_64.binary
Build Date 2021-05-07 01:17:22 +0000 UTC
Last Updated 2021-05-15 21:53:56.636696371 +0000 UTC
$ git show --format=fuller --patch-with-stat --summary ed180d06ea2c2e8fad35a09c85323655b9b00b29

commit ed180d06ea2c2e8fad35a09c85323655b9b00b29
Author:     Bernhard Rosenkränzer <bero@lindev.ch>
AuthorDate: Thu May 6 03:04:20 2021 +0200
Commit:     Bernhard Rosenkränzer <bero@lindev.ch>
CommitDate: Thu May 6 03:04:20 2021 +0200

    Try to fix non-x86
---
 audacity-3.0.2-no-x86-hardcodes.patch | 26 ++++++++++++++++++++++++++
 audacity.spec                         |  1 +
 2 files changed, 27 insertions(+)
 create mode 100644 audacity-3.0.2-no-x86-hardcodes.patch

diff --git a/audacity-3.0.2-no-x86-hardcodes.patch b/audacity-3.0.2-no-x86-hardcodes.patch
new file mode 100644
index 0000000..0c3ee34
--- /dev/null
+++ b/audacity-3.0.2-no-x86-hardcodes.patch
@@ -0,0 +1,26 @@
+diff -up audacity-Audacity-3.0.2/cmake-proxies/libsbsms/CMakeLists.txt.omv~ audacity-Audacity-3.0.2/cmake-proxies/libsbsms/CMakeLists.txt
+diff -up audacity-Audacity-3.0.2/lib-src/libsbsms/src/fft.h.omv~ audacity-Audacity-3.0.2/lib-src/libsbsms/src/fft.h
+--- audacity-Audacity-3.0.2/lib-src/libsbsms/src/fft.h.omv~	2021-05-06 02:54:45.279636945 +0200
++++ audacity-Audacity-3.0.2/lib-src/libsbsms/src/fft.h	2021-05-06 02:55:43.831126199 +0200
+@@ -6,7 +6,7 @@
+ #include <string.h>
+ #include "utils.h"
+ 
+-#if defined(ENABLE_SSE) && !defined(APPLE_PPC)
++#if defined(ENABLE_SSE) && !defined(APPLE_PPC) && (defined(__x86_64__) || defined(__i386__))
+ #include "sse.h"
+ #endif
+ 
+diff -up audacity-Audacity-3.0.2/lib-src/libsbsms/src/sse.h.omv~ audacity-Audacity-3.0.2/lib-src/libsbsms/src/sse.h
+--- audacity-Audacity-3.0.2/lib-src/libsbsms/src/sse.h.omv~	2021-05-06 02:55:48.642273665 +0200
++++ audacity-Audacity-3.0.2/lib-src/libsbsms/src/sse.h	2021-05-06 02:56:01.029172079 +0200
+@@ -4,7 +4,7 @@
+ 
+ #include "config.h"
+ 
+-#if defined(ENABLE_SSE) && !defined(APPLE_PPC)
++#if defined(ENABLE_SSE) && !defined(APPLE_PPC) && (defined(__x86_64__) || defined(__i386__))
+ 
+ #include <xmmintrin.h>
+ 
+diff -up audacity-Audacity-3.0.2/src/CMakeLists.txt.omv~ audacity-Audacity-3.0.2/src/CMakeLists.txt
diff --git a/audacity.spec b/audacity.spec
index 2550b23..f55bac8 100644
--- a/audacity.spec
+++ b/audacity.spec
@@ -19,6 +19,7 @@ Patch0:         audacity-2.4.2-default-theme-dark.patch
 Patch1:         system-wx.patch
 Patch2:         0001-Fix-compilation-with-llvm-11.0.1.patch
 Patch3:		audacity-workaround-clang-bug-50230.patch
+Patch4:		audacity-3.0.2-no-x86-hardcodes.patch
 
 #BuildRequires:  git
 BuildRequires:	ninja
Not Available

itchka [@T] compuserve.comsuperceded1289d 00hrs
itchka [@T] compuserve.comNo Comment.1289d 00hrs