Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jan 2025 21:42:55 GMT
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: edf835ae234b - main - audio/sfizz: fix build on powerpc / riscv64
Message-ID:  <202501122142.50CLgtXo096303@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=edf835ae234b353ea28b0bbdfaae6b67545befb5

commit edf835ae234b353ea28b0bbdfaae6b67545befb5
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-01-06 12:28:49 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-01-12 21:36:22 +0000

    audio/sfizz: fix build on powerpc / riscv64
---
 ...patch-external_atomic__queue_include_atomic__queue_defs.h | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

diff --git a/audio/sfizz/files/patch-external_atomic__queue_include_atomic__queue_defs.h b/audio/sfizz/files/patch-external_atomic__queue_include_atomic__queue_defs.h
index f8e6a62f4f9f..fb6783f78d9f 100644
--- a/audio/sfizz/files/patch-external_atomic__queue_include_atomic__queue_defs.h
+++ b/audio/sfizz/files/patch-external_atomic__queue_include_atomic__queue_defs.h
@@ -1,6 +1,6 @@
---- external/atomic_queue/include/atomic_queue/defs.h.orig	2024-12-22 21:57:08 UTC
+--- external/atomic_queue/include/atomic_queue/defs.h.orig	2024-01-14 20:23:08 UTC
 +++ external/atomic_queue/include/atomic_queue/defs.h
-@@ -36,6 +36,13 @@ static inline void spin_loop_pause() noexcept {
+@@ -36,6 +36,16 @@ static inline void spin_loop_pause() noexcept {
  #endif
  }
  } // namespace atomic_queue
@@ -12,5 +12,11 @@
 +}
 +} // namespace atomic_queue
  #else
- #error "Unknown CPU architecture."
+-#error "Unknown CPU architecture."
++namespace atomic_queue {
++constexpr int CACHE_LINE_SIZE = 64;
++static inline void spin_loop_pause() noexcept {}
++} // namespace atomic_queue
  #endif
+ 
+ ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202501122142.50CLgtXo096303>