[packages/OpenAL] fix nosse patch; rel 2

atler atler at pld-linux.org
Sat Apr 23 17:52:34 CEST 2022


commit 769e4bfc7fe34647ed601cfb01b63e6944f908cc
Author: Jan Palus <jpalus at fastmail.com>
Date:   Sat Apr 23 17:52:10 2022 +0200

    fix nosse patch; rel 2

 OpenAL-nosse.patch | 6 +++---
 OpenAL.spec        | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/OpenAL.spec b/OpenAL.spec
index a83753d..ab8b18e 100644
--- a/OpenAL.spec
+++ b/OpenAL.spec
@@ -18,7 +18,7 @@ Summary:	Open Audio Library
 Summary(pl.UTF-8):	Otwarta Biblioteka Dźwięku
 Name:		OpenAL
 Version:	1.22.0
-Release:	1
+Release:	2
 License:	LGPL v2+
 Group:		Libraries
 Source0:	https://openal-soft.org/openal-releases/openal-soft-%{version}.tar.bz2
diff --git a/OpenAL-nosse.patch b/OpenAL-nosse.patch
index 44baae0..6eeaf71 100644
--- a/OpenAL-nosse.patch
+++ b/OpenAL-nosse.patch
@@ -74,7 +74,7 @@
  #define PHASE_SHIFTER_H
  
 -#ifdef HAVE_SSE_INTRINSICS
-+#ifdef HAVE_SSE_INTRINSICS && defined(__SSE__)
++#if defined(HAVE_SSE_INTRINSICS) && defined(__SSE__)
  #include <xmmintrin.h>
  #elif defined(HAVE_NEON)
  #include <arm_neon.h>
@@ -83,7 +83,7 @@
  inline void PhaseShifterT<S>::process(al::span<float> dst, const float *RESTRICT src) const
  {
 -#ifdef HAVE_SSE_INTRINSICS
-+#ifdef HAVE_SSE_INTRINSICS && defined(__SSE__)
++#if defined(HAVE_SSE_INTRINSICS) && defined(__SSE__)
      if(size_t todo{dst.size()>>1})
      {
          auto *out = reinterpret_cast<__m64*>(dst.data());
@@ -92,7 +92,7 @@
  inline void PhaseShifterT<S>::processAccum(al::span<float> dst, const float *RESTRICT src) const
  {
 -#ifdef HAVE_SSE_INTRINSICS
-+#ifdef HAVE_SSE_INTRINSICS && defined(__SSE__)
++#if defined(HAVE_SSE_INTRINSICS) && defined(__SSE__)
      if(size_t todo{dst.size()>>1})
      {
          auto *out = reinterpret_cast<__m64*>(dst.data());
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/OpenAL.git/commitdiff/769e4bfc7fe34647ed601cfb01b63e6944f908cc



More information about the pld-cvs-commit mailing list