From 7aab51dea930ab0e49ea87f07bed2ed1e5c8adff Mon Sep 17 00:00:00 2001 From: Vitaly Zaitsev Date: Wed, 12 Apr 2023 10:57:52 +0200 Subject: [PATCH] Removed no longer needed NEON patch. All NEON checks will be disabled by `-DALSOFT_CPUEXT_NEON:BOOL=OFF`. --- openal-soft-arm_neon-only-for-32bit.patch | 11 ----------- openal-soft.spec | 1 - 2 files changed, 12 deletions(-) delete mode 100644 openal-soft-arm_neon-only-for-32bit.patch diff --git a/openal-soft-arm_neon-only-for-32bit.patch b/openal-soft-arm_neon-only-for-32bit.patch deleted file mode 100644 index 257e3d6..0000000 --- a/openal-soft-arm_neon-only-for-32bit.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -411,7 +411,7 @@ endif() - - # Check for ARM Neon support - option(ALSOFT_REQUIRE_NEON "Require ARM NEON support" OFF) --if(HAVE_ARM_NEON_H) -+if(HAVE_ARM_NEON_H AND CMAKE_SIZEOF_VOID_P EQUAL 4) # only 32-bit ARM - option(ALSOFT_CPUEXT_NEON "Enable ARM NEON support" ON) - if(ALSOFT_CPUEXT_NEON) - check_c_source_compiles("#include diff --git a/openal-soft.spec b/openal-soft.spec index e609a83..844db9c 100644 --- a/openal-soft.spec +++ b/openal-soft.spec @@ -6,7 +6,6 @@ Summary: Open Audio Library License: LGPL-2.0-or-later AND BSD-3-Clause URL: https://openal-soft.org/ Source0: https://openal-soft.org/openal-releases/openal-soft-%{version}.tar.bz2 -Patch0: openal-soft-arm_neon-only-for-32bit.patch BuildRequires: alsa-lib-devel BuildRequires: cmake