[packages/SDL2_sound] - updated to 2.0.4
qboosh
qboosh at pld-linux.org
Mon Feb 3 20:28:33 CET 2025
commit 3fb048067c6309aa6cfc4f9878af7f097f217352
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Mon Feb 3 20:15:59 2025 +0100
- updated to 2.0.4
SDL2_sound.spec | 6 +++---
SDL_sound-use-builtin-clz.patch | 10 +++++-----
2 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/SDL2_sound.spec b/SDL2_sound.spec
index 97bbbdc..58cbf61 100644
--- a/SDL2_sound.spec
+++ b/SDL2_sound.spec
@@ -2,13 +2,13 @@
Summary: An abstract soundfile decoder
Summary(pl.UTF-8): Abstrakcyjny dekoder plików dźwiękowych
Name: SDL2_sound
-Version: 2.0.2
+Version: 2.0.4
Release: 1
License: Zlib
Group: Libraries
#Source0Download: https://github.com/icculus/SDL_sound/releases
Source0: https://github.com/icculus/SDL_sound/archive/v%{version}/SDL_sound-%{version}.tar.gz
-# Source0-md5: 08405318c3b7bbeff2d6d5bc72fc160f
+# Source0-md5: 7954125fd5f077f4846572f6bf0abfce
Patch0: SDL_sound-use-builtin-clz.patch
URL: http://www.icculus.org/SDL_sound/
BuildRequires: SDL2-devel >= 2.0
@@ -83,7 +83,7 @@ Statyczne biblioteki SDL_sound.
%prep
%setup -q -n SDL_sound-%{version}
-%patch0 -p1
+%patch -P0 -p1
%build
install -d build
diff --git a/SDL_sound-use-builtin-clz.patch b/SDL_sound-use-builtin-clz.patch
index 27ce659..6d3d49f 100644
--- a/SDL_sound-use-builtin-clz.patch
+++ b/SDL_sound-use-builtin-clz.patch
@@ -1,6 +1,6 @@
---- SDL_sound-2.0.1/src/dr_flac.h.orig 2022-03-25 21:17:50.000000000 +0100
-+++ SDL_sound-2.0.1/src/dr_flac.h 2022-09-24 20:46:30.681153334 +0200
-@@ -2768,25 +2768,7 @@ static DRFLAC_INLINE drflac_uint32 drfla
+--- SDL_sound-2.0.4/src/dr_flac.h.orig 2025-02-03 20:05:04.840755751 +0100
++++ SDL_sound-2.0.4/src/dr_flac.h 2025-02-03 20:09:07.742773171 +0100
+@@ -2797,25 +2797,7 @@ static DRFLAC_INLINE drflac_uint32 drfla
#endif
#else
#if defined(__GNUC__) || defined(__clang__)
@@ -22,8 +22,8 @@
-
- return r;
- }
-- #elif defined(DRFLAC_ARM) && (defined(__ARM_ARCH) && __ARM_ARCH >= 5) && !defined(DRFLAC_64BIT) /* <-- I haven't tested 64-bit inline assembly, so only enabling this for the 32-bit build for now. */
-+ #if defined(DRFLAC_ARM) && (defined(__ARM_ARCH) && __ARM_ARCH >= 5) && !defined(DRFLAC_64BIT) /* <-- I haven't tested 64-bit inline assembly, so only enabling this for the 32-bit build for now. */
+- #elif defined(DRFLAC_ARM) && (defined(__ARM_ARCH) && __ARM_ARCH >= 5) && !defined(__ARM_ARCH_6M__) && !defined(DRFLAC_64BIT) /* <-- I haven't tested 64-bit inline assembly, so only enabling this for the 32-bit build for now. */
++ #if defined(DRFLAC_ARM) && (defined(__ARM_ARCH) && __ARM_ARCH >= 5) && !defined(__ARM_ARCH_6M__) && !defined(DRFLAC_64BIT) /* <-- I haven't tested 64-bit inline assembly, so only enabling this for the 32-bit build for now. */
{
unsigned int r;
__asm__ __volatile__ (
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/SDL2_sound.git/commitdiff/3fb048067c6309aa6cfc4f9878af7f097f217352
More information about the pld-cvs-commit
mailing list